Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NEW. Added abjad.show(..., flags="") keyword. #1576

Merged
merged 1 commit into from
Dec 28, 2023

Commits on Dec 28, 2023

  1. NEW. Added abjad.show(..., flags="") keyword.

    ``flags`` is passed to the LilyPond commandline.
    
    Use ``flags`` for LilyPond --include statements:
    
        >>> flags = "--include=/Users/user/abjad/abjad/scm"
        >>> abjad.show(score, flags=flags)
    
    Recall that LilyPond --include statements do not specify included files;
    rather, LilyPond --include statements specify directories which LilyPond
    should search for included files, somewhat like the behavior of Python's
    PYTHONPATH environment variable. This means that this ...
    
        lilypond --include=/Users/user/abjad/abjad/scm/abjad.ily
    
    ... will not work, but that this ...
    
        lilypond --include=/Users/user/abjad/abjad/scm
    
    ... will work (and correctly point LilyPond to the scm/abjad.ily file).
    
    NEW. Added the same functionality to the following:
    
        * abjad.persist.as_midi(..., flags="")
        * abjad.persist.as_pdf(..., flags="")
        * abjad.persist.as_png(..., flags="")
    
    Tag #1575.
    
    NEW. Added abjad.TextMark indicator.
    
    Tag #1572.
    trevorbaca committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    d537f51 View commit details
    Browse the repository at this point in the history