Re: problem with extending 'magnetic snapping lyrics' engraver

2022-04-06 Thread Werner LEMBERG
>> 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

Re: problem with extending 'magnetic snapping lyrics' engraver

2022-04-06 Thread Werner LEMBERG
> 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

Re: problem with extending 'magnetic snapping lyrics' engraver

2022-04-06 Thread Jean Abou Samra
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