Re: Need help displaying note names in 2.22

2023-08-08 Thread Viktor Mastoridis
Dear all, Thank you very much for the time taken to comment on my problem. I tried all the suggestions one by one - the best solution was to upgrade to Lilypond 2.24 (much easier than I thought) and to use Jean's code below: \version "2.24.1" \layout { \context { \NoteNames

Re: Need help displaying note names in 2.22

2023-08-07 Thread Jean Abou Samra
Le lundi 07 août 2023 à 19:00 +0100, Viktor Mastoridis a écrit : > How do I upgrade to Lilypond 2.24 on Mint 21 (Ubuntu LTS 22.4) without braking > the system? Just follow the tutorial, it will not interfere with the system in any way.

Re: Need help displaying note names in 2.22

2023-08-07 Thread Viktor Mastoridis
On Sunday, 6 August 2023, Jean Abou Samra wrote: > Oops, except that this is not going to work in 2.22, since > \with-string-transformer is new in 2.24. > > However, 2.22 is not supported anymore, I would recommend upgrading to > 2.24 anyway. > How do I upgrade to Lilypond 2.24 on Mint 21

Re: Need help displaying note names in 2.22

2023-08-06 Thread Silvain Dupertuis
Le 06.08.23 à 16:59, David Kastrup a écrit : Strange... I tried a few things, but did not find a way to make it work. I noticed  2 things : 1. In this association table : chimenames = #`(     ("c" . "C")     ("cis" . "C♯")     ("d" . "D")     ("es" . "E♭") ) It only takes into account

Re: Need help displaying note names in 2.22

2023-08-06 Thread Jean Abou Samra
Oops, except that this is not going to work in 2.22, since \with-string- transformer is new in 2.24. However, 2.22 is not supported anymore, I would recommend upgrading to 2.24 anyway. signature.asc Description: This is a digitally signed message part

Re: Need help displaying note names in 2.22

2023-08-06 Thread Jean Abou Samra
Le dimanche 06 août 2023 à 18:36 +0200, Robin Bannister a écrit : > David Kastrup wrote: > > > > Note names have changed to use ♯ and ♭ characters, so you need to look > > up "c♯" instead of "cis". > > > I got no hits that way. That's because the sharp sign is printed with \markup

Re: Need help displaying note names in 2.22

2023-08-06 Thread Robin Bannister
David Kastrup wrote: Note names have changed to use ♯ and ♭ characters, so you need to look up "c♯" instead of "cis". I got no hits that way. An alternative is to add printAccidentalNames = #'lily to the NoteNames \with. And if I change the "es" lookup key to the more canonical "ees"

Re: Need help displaying note names in 2.22

2023-08-06 Thread Michael Werner
Hi Victor, On Sat, Aug 5, 2023 at 7:12 PM Viktor Mastoridis < viktor.mastori...@gmail.com> wrote: > Hello, > > I have been using the syntax below for several years; the last code update > I did was in December 2022, and it worked well since. > Today I noticed that I can't get the sharp/flat note

Re: Need help displaying note names in 2.22

2023-08-06 Thread David Kastrup
Silvain Dupertuis writes: > Strange... > I tried a few things, but did not find a way to make it work. > > I noticed  2 things : > > 1. In this association table : > chimenames = > #`( >     ("c" . "C") >     ("cis" . "C♯") >     ("d" . "D") >     ("es" . "E♭") > ) > It only takes into account

Re: Need help displaying note names in 2.22

2023-08-06 Thread Silvain Dupertuis
Strange... I tried a few things, but did not find a way to make it work. I noticed  2 things : 1. In this association table : chimenames = #`(     ("c" . "C")     ("cis" . "C♯")     ("d" . "D")     ("es" . "E♭") ) It only takes into account notes of names with one single character as the

Need help displaying note names in 2.22

2023-08-05 Thread Viktor Mastoridis
Hello, I have been using the syntax below for several years; the last code update I did was in December 2022, and it worked well since. Today I noticed that I can't get the sharp/flat note names properly. C# & Eb are not displayed. Can you please help? --- \version "2.22.1"