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

Add abjad.TextMark indicator #1572

Open
trevorbaca opened this issue Dec 7, 2023 · 0 comments
Open

Add abjad.TextMark indicator #1572

trevorbaca opened this issue Dec 7, 2023 · 0 comments
Assignees
Labels
Milestone

Comments

@trevorbaca
Copy link
Member

The underlying LilyPond command is \mark.

It looks like recent versions of LilyPond added \textMark and \textEndMark commands, perhaps to better dedicate \mark to rehearsal marks. Not clear whether it will be better to added abjad.TextMark, abjad.TextMarkEnd classes or abjad.Mark.text, abjad.Mark.end_text properties.

@trevorbaca trevorbaca added this to the 3.20 milestone Dec 7, 2023
@trevorbaca trevorbaca self-assigned this Dec 7, 2023
@trevorbaca trevorbaca changed the title Change abjad.RehearsalMark to abjad.Mark Add abjad.TextMark indicator Dec 8, 2023
trevorbaca added a commit that referenced this issue Dec 8, 2023
trevorbaca added a commit that referenced this issue Dec 28, 2023
``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 added a commit that referenced this issue Dec 28, 2023
``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 added a commit that referenced this issue Dec 28, 2023
``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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant