Hello Harm, Thanks for your answer. I mistakenly used 2.19.82’s convert-ly… The second version is more explicit, by the way.
Sorry for the noise, and a nice day! JM > Le 9 avr. 2019 à 20:52, Thomas Morley <thomasmorle...@gmail.com> a écrit : > > Am Di., 9. Apr. 2019 um 07:42 Uhr schrieb Jacques Menu <imj-muz...@bluewin.ch > <mailto:imj-muz...@bluewin.ch>>: >> >> Hello folks, >> >> This snippet taken from LPNR 2.19.82 is handled alright by the latter, but >> fails with 2.21.0: >> >> %%%%%%% >> \version "2.21.0" >> >> \relative c'' { >> \once \override TupletNumber.text = #(tuplet-number::fraction-with-notes >> "4." "8") >> \tuplet 3/2 { c4. c4. c4. c4. } >> } >> %%%%%%% >> >> Starting lilypond 2.21.0 [foo.ly]... >> Processing `/home/user/libmusicxml-git/files/samples/musicxml/foo.ly' >> Parsing... >> Interpreting music... >> Preprocessing graphical objects... >> Finding the ideal number of pages... >> Fitting music on 1 page... >> Drawing systems... >> fatal error: make-note-markup: Invalid argument in position 1. Expect: >> duration, found: "4.". >> Exited with return code 1. >> >> Has something changed in that area in 2.21.0? > > Yes, with https://sourceforge.net/p/testlilyissues/issues/5156/ > <https://sourceforge.net/p/testlilyissues/issues/5156/> > > Did you try convert-ly from 2.21.0? Make sure your file has the > \version-statement according to LSR, i.e. 2.18.2 > You would get: > > \relative c'' { > \once \override TupletNumber.text = > #(tuplet-number::fraction-with-notes > (ly:make-duration 2 1) > (ly:make-duration 3 0)) > \tuplet 3/2 { c4. c4. c4. c4. } > } > > But this works as well: > > \relative c'' { > \once \override TupletNumber.text = > #(tuplet-number::fraction-with-notes #{ 4. #} #{ 8 #}) > \tuplet 3/2 { c4. c4. c4. c4. } > } > > Cheers, > Harm
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user