Jean Abou Samra <[email protected]> writes: > Le 11/11/2022 à 14:28, David Kastrup a écrit : >>> \override NoteName #'stencil = #ChimeNoteNames >> This is the problematic line, and the error message should have >> indicated as much. This should be NoteName.stencil but you really >> really really should figure out how to run convert-ly in the correct >> manner on your files, or you'll be back asking for help on the list for >> every single incompatible syntax change in future. > > > > Viktor, I suspect what is happening is that you first upgraded > an old file to 2.20 without convert-ly, which didn't change > this syntax, then upgraded from 2.20 to 2.22, which didn't > change it either because the conversion rule is done when crossing > the version in which the change was done, namely version 2.17.6. > > That said, while true that this syntax is deprecated, it still > works and replacing NoteName #'stencil with NoteName.stencil > does not make a difference in the output. > > The problem appears to be that the NoteName text in 2.22 is > not a simple string but a combination of \concat, \line and > \simple that ends up printing the same thing. One can fix > the snippet by first extracting the string from that markup > before the alist lookup, using markup->string:
[...] Well, one reason to avoid deprecated syntax and use convert-ly for updates is that it avoids masking the real problem when people like myself stop looking further after seeing the presumed first red flag. Sorry for the misdiagnosis. -- David Kastrup
