Re: French lyrics and accented characters

2024-07-03 Thread Raphael Mankin
On 02/07/2024 22:25, Jean Abou Samra wrote: I have tried all sorts of  things, but how  do I get French accented characters in lyrics and markup? Uh… just write them directly: \version "2.24.2" \markup { Quelques caractères accentués } \lyrics { É à û Ï } Thank you. The obvious is what

Re: French lyrics and accented characters

2024-07-03 Thread Jean Abou Samra
Le mercredi 03 juillet 2024 à 08:26 +0100, Raphael Mankin a écrit : > Thank you. The obvious is what generally escapes one. But character > picking is a PITA. I shall have to add a French keyboard to my layouts. > AZERTY :-( Have you tried a Compose key? At least under a GNOME Linux desktop, th

Re: French lyrics and accented characters

2024-07-03 Thread Carlo Stemberger
Il giorno mer 3 lug 2024 alle ore 09:27 Raphael Mankin ha scritto: > character picking is a PITA. I shall have to add a French keyboard to my > layouts. > On a GNU/Linux system you have 2 other possibilities: 1) Ctrl + Shift + u followed by the hex unicode code (for example 00e7 for ç); 2) Usin

Re: syntax for \afterGrace

2024-07-03 Thread Simon Albrecht
On 01.07.24 21:32, Paul Scott wrote: Sometimes the scope of functions? is not always clear. I’m not sure what you mean by that. \afterGrace takes two arguments, both of which are a single music expression each. {} or <<>> are used to combine multiple things into a single music expression (seq

Re: French lyrics and accented characters

2024-07-03 Thread Valentin Petzel
Hello, I’ve taken some time to create a function for decoding html-style entities. So instead of entering \markup { á è ç â ... } you can do \markup\htmldecode { á è ç â ... } or \markup\htmldecode { "á" "è" "ç" "â" ... } or \markup\htmldecode { &:xE1; &:xE8; &:xE7; &:xE2; ... } (I’ve add

Re: French lyrics and accented characters

2024-07-03 Thread Valentin Petzel
Also for Lyrics you can then do \score { \new Lyrics \with { \override LyricText.before-line-breaking = #(lambda (grob) (ly:grob-set-property! grob 'text (htmldecode (ly:grob-property grob 'text } \lyricmode { Thìs ïs â téşt } } Cheers, Valentin Am Mittwoch, 3. Juli

Re: French lyrics and accented characters

2024-07-03 Thread Valentin Petzel
Although that one does not work out perfectly, as the tied-lyrics logic will only be applied if the text is a basic string. What would be necessary is a way to specify string-transformers for a grobs default properties, which would require something like https://gitlab.com/lilypond/lilypond/-/i

Re: French lyrics and accented characters

2024-07-03 Thread Raphael Mankin
Thank you. That sounds like just the ticket. Is your update a standard part of 2.24.3, or do I have to download an extra file or two? On 03/07/2024 13:47, Valentin Petzel wrote: Also for Lyrics you can then do \score { \new Lyrics \with { \override LyricText.before-line-breaking =

RE: beam subdivision problem

2024-07-03 Thread carsonmark
Werner, My reading would be \version "2.24.3" \relative c'' { d4 r16 f d b g'4~ g16 a c a64 (g fis g) | } It corrects only one beaming "error", is more rhythmically consistent, and might be more in keeping with the context. Mark -Original Message- From: lilypond-user-bounces+carson

Re: beam subdivision problem

2024-07-03 Thread Werner LEMBERG
> My reading would be > > \version "2.24.3" > \relative c'' { > d4 r16 f d b g'4~ g16 a c a64 (g fis g) | > } > > It corrects only one beaming "error", is more rhythmically > consistent, and might be more in keeping with the context. Thanks, but I'm not typesetting the sonata :-) It would be

Re: French lyrics and accented characters

2024-07-03 Thread Simon Albrecht
Hi Valentin, On 03.07.24 14:31, Valentin Petzel wrote: I’ve taken some time to create a function for decoding html-style entities. wow, that’s a great bit of initiative! I’m really sorry that only upon seeing this I remembered the text-replacements function already in LilyPond which does pre

Re: beam subdivision problem

2024-07-03 Thread Carl Sorensen
On Tue, Jul 2, 2024 at 10:48 AM Werner LEMBERG wrote: > > Folks, > > > how can I easily create a beam subdivision as shown in the attached > image using the current development version 2.25.18? The solution I > came up with is extremely ugly... > > > Werner > > This may be slightly less ugly

Re: beam subdivision problem

2024-07-03 Thread Jason Yip
On 2024-07-02 21:33, Werner LEMBERG - wl(a)gnu.org wrote: My beam subdivision algorithm tries to strictly respect metric values as subdivision is intended to ease readers' track of the current measure position. Adding features that loosen that strictness such as one to support your desired output

Re: beam subdivision problem

2024-07-03 Thread Werner LEMBERG
> This may be slightly less ugly, but it still requires a function > call every place you want a beam subdivision: Thanks! Werner

Re: beam subdivision problem

2024-07-03 Thread Werner LEMBERG
> I have thought of a probably better solution. Currently, if > `minimumBeamSubdivisionInterval` > `maximumBeamSubdivisionInterval`, > the algorithm basically pretends that `subdivideBeams` is false. > What if I change the behavior of that case such that you can add > `maximumBeamSubdivisionInterv