David Kastrup <[email protected]> writes: > -Eluze <[email protected]> writes: > >> David Kastrup wrote: >>> >>> -Eluze <[email protected]> writes: >>> >>>> Phil Holmes wrote: >>>>> >>>>> With this input: >>>>> >>>>> { >>>>> #(set-accidental-style 'modern-voice-cautionary) >>>>> \clef bass >>>>> ces4 ces ces ces | >>>>> c4 c c c | >>>>> } >>>>> >>>>> I get a cautionary in the second bar up until 2.15.16 (which I believe I >>>>> would expect) but none in 2.15.18. I reckon this is a bug, but would >>>>> like >>>>> someone who does this stuff to confirm that it's not a deliberate change >>>>> (for some reason). >>>>> >>>>> >>>> >>>> use \accidentalStyle "modern-voice-cautionary" instead - couldn't find >>>> this >>>> in Changes either! >>> >>> I don't think that this should make a difference. It is a nicer >>> interface, but the results should be the same I think. I have not >>> investigated, though. >>> >> it obviously does: >> >> { \accidentalStyle "modern-voice-cautionary" ces1 c } >> { #(set-accidental-style 'modern-voice-cautionary) ces1 c } > > Sigh. I'll investigate.
Right. Now I remember (and so does convert-ly, by the way). set-accidental-style used to be (ly:export ...) since it returns a music expression, and it no longer is (since ly:export does no longer exist). So you need to call it as $(set-accidental-style ...) if it is supposed to have any effect. -- David Kastrup _______________________________________________ bug-lilypond mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-lilypond
