> Yes, some space should be the default, and my comment was
> invalidated by some changes I made within the engraver.  I've
> attached a revision of the file for which the comment does again
> make sense.  The engraver now acknowledges objects with the
> dynamic-line-spanner-interface.

Great, thanks!

>> A bit later in the example there is a commented-out fermata; after
>> making the fermata active there is indeed such a vertical space
>> reserved, and prefixing `\fermata` with `\tweak
>> outside-staff-priority ##f` makes the fermata actually become part
>> of the frame.
> 
> Interestingly, in the revised file, this tweak isn't needed for
> scripts,

Actually, it *is* necessary with the current development version.
IIRC, the `outside-staff-priority` values of many grobs were changed
in the 2.25 series; maybe this is the reason for the different
behaviour.

> In the interest of simplicity of use, I wonder if there is a way to
> get the engraver to behave in a natural way without needing to
> tamper with outside-staff-priority here!

Good question.  This is above my paygrade for Scheme :-)

Are you interested in nitpicks?  If I activate the red color override
in the example, the red arrow partially overlaps with the frame in the
lowest system; see attached image.


    Werner


PS: I would *love* to see your code added to LilyPond.  Do you think
    it is mature enough?  Otherwise I would add it to the LSR so that
    it can be easily found by interested people.

Reply via email to