>> but how about just
>> changing
>>
>> (let* ((hyphen-sten (ly:lyric-hyphen::print hyphen))
>>
>> to
>>
>> (let* ((hyphen-sten (ly:grob-property hyphen 'stencil))
>>
>>
>> ? Then you can do \override LyricHyphen.stencil = #what-you-want to
>> get the result.
>
> D'oh, so simple, thanks aga
> It's uncomfortable to have grob properties of procedure type, since
> they are automatically resolved as callbacks. You set
> LyricWord.hyphen-formatter to ly:lyric-hyphen::print. Then, when
> you do
>
> (ly:grob-property grob 'hyphen-formatter)
>
> this not only looks up ly:lyric-hyphen::pr
Le 06/04/2022 à 09:49, Werner LEMBERG a écrit :
I'm trying to generalize the 'magnetic snapping lyrics' engraver (the
most recent version posted as
https://lists.gnu.org/archive/html/lilypond-user/2019-05/msg00389.html)
by providing a new property `hyphen-formatter`, to be used instead of
the har
I'm trying to generalize the 'magnetic snapping lyrics' engraver (the
most recent version posted as
https://lists.gnu.org/archive/html/lilypond-user/2019-05/msg00389.html)
by providing a new property `hyphen-formatter`, to be used instead of
the hard-coded `ly:lyric-hyphen::print`. Attached you c