Re: Unicode accidentals vs. Markup accidentals,Re: Unicode accidentals vs. Markup accidentals

2023-01-16 Thread Jean Abou Samra
Le 16/01/2023 à 16:57, Kieren MacMillan a écrit : Hi all, In any case, please submit this to the LSR! I was *just* going to look at this to see if it could be improved viz-a-viz Jean’s suggestion that callbacks using after-line-breaking are often better done with grob-transformer. [Yes, I

Re: Unicode accidentals vs. Markup accidentals,Re: Unicode accidentals vs. Markup accidentals

2023-01-16 Thread Kieren MacMillan
Hi all, > In any case, please submit this to the LSR! I was *just* going to look at this to see if it could be improved viz-a-viz Jean’s suggestion that callbacks using after-line-breaking are often better done with grob-transformer. [Yes, I know this is *before*-line-breaking…] If so, that

Re: Unicode accidentals vs. Markup accidentals, Re: Unicode accidentals vs. Markup accidentals

2023-01-16 Thread Jean Abou Samra
> Le 16 janv. 2023 à 15:07, Mark Knoop a écrit : > >  > At 12:51 on 16 Jan 2023, Werner LEMBERG wrote: >>> \new Staff { >>> \override TextScript.before-line-breaking = >>> #(lambda (grob) >>> (ly:grob-set-property! grob 'text >>>(markup #:replace >>>

Re: Unicode accidentals vs. Markup accidentals,Re: Unicode accidentals vs. Markup accidentals

2023-01-16 Thread Mark Knoop
At 12:51 on 16 Jan 2023, Werner LEMBERG wrote: >> \new Staff { >> \override TextScript.before-line-breaking = >> #(lambda (grob) >> (ly:grob-set-property! grob 'text >> (markup #:replace >> `(("♭" . ,#{ \markup{ \tflat} #})

Re: Unicode accidentals vs. Markup accidentals,Re: Unicode accidentals vs. Markup accidentals

2023-01-16 Thread Werner LEMBERG
> I quite like this, but incorporating this into my previous code I > found going down TWO steps to be optically more pleasing. OK :-) > \new Staff { > \override TextScript.before-line-breaking = > #(lambda (grob) > (ly:grob-set-property! grob 'text >