lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CodaMark and friends not included in skyline


From: Jean Abou Samra
Subject: Re: CodaMark and friends not included in skyline
Date: Tue, 28 Dec 2021 17:47:57 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1

Le 28/12/2021 à 17:23, Werner LEMBERG a écrit :
I noticed that the following grobs are not part of the skyline.
Actually, I would expect that they are part of it...

    BarNumber
    CodaMark
    MetronomeMark
    RehearsalMark
    SectionLabel

Interestingly, `SegnoMark` and `JumpScript` are both part of the
skyline.  The same is true for `CenteredBarNumber`.

What's the logic behind it?  IMHO, it should be made consistent.
And it should be documented, too.
How do you observe this?  I don't see a problem with the
debug-skylines output, [...]
Sorry for not providing an example.  Using Thomas Morley's Scheme code
I'm extending the `after-line-breaking` property to provide
documentation links to the NR; see attached example and image.

Note that JumpScript and SegnoMark are affected, too; I made a mistake
in the code.


Yes. This overrides the default after-line-breaking
callback, which causes trouble if that callback was
supposed to do something important. Harm's code was
written at a time where the grob-transformer was
not available. It's now possible to write this code
in a way that works for grobs with an after-line-breaking
callback. See the attached file. I've also modified
it so that the URL to the documentation is computed
from the version number of the LilyPond version that
runs the file, and not hardcoded.

Best,
Jean

Attachment: skyline-fixed.ly
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]