Am Fr., 20. Sept. 2019 um 02:19 Uhr schrieb Andrew Bernard <andrew.bern...@gmail.com>: > > Using 2.21 from git, the non-default tuplet example in the NR throws an > error. > > > \relative c'' { > \once \override TupletNumber.text = > #(tuplet-number::non-default-tuplet-denominator-text 7) > \tuplet 3/2 { c4. c4. c4. c4. } > \once \override TupletNumber.text = > #(tuplet-number::non-default-tuplet-fraction-text 12 7) > \tuplet 3/2 { c4. c4. c4. c4. } > \once \override TupletNumber.text = > #(tuplet-number::append-note-wrapper > (tuplet-number::non-default-tuplet-fraction-text 12 7) "8") > \tuplet 3/2 { c4. c4. c4. c4. } > \once \override TupletNumber.text = > #(tuplet-number::append-note-wrapper > tuplet-number::calc-denominator-text "4") > \tuplet 3/2 { c8 c8 c8 c8 c8 c8 } > \once \override TupletNumber.text = > #(tuplet-number::append-note-wrapper > tuplet-number::calc-fraction-text "4") > \tuplet 3/2 { c8 c8 c8 c8 c8 c8 } > \once \override TupletNumber.text = > #(tuplet-number::fraction-with-notes "4." "8") > \tuplet 3/2 { c4. c4. c4. c4. } > \once \override TupletNumber.text = > #(tuplet-number::non-default-fraction-with-notes 12 "8" 4 "4") > \tuplet 3/2 { c4. c4. c4. c4. } > } > > 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: "8". > Exited with return code 1. > > > The code compiles fine in 2.19.83. > > Has the syntax changed? > > > Andrew
Yep, \note espects a duration in 2.21.0: \markup \note {4..} #UP See the example in the markup-command's definition or the 2.21.-docs (if you build them) 2.21.-convert-ly should cope with it. Cheers, Harm _______________________________________________ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond