X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=ly%2Fspanners-init.ly;h=7b26094e497fbbfdf81c6b5fe20cc271644344c0;hb=7c624620feabb74e0619cfc2d26c1d14834ffa73;hp=e86ea4ea748e4c5669c4ac80ddc495f25ef99c22;hpb=1ee79e6b8d4386a5885960a3eafb87db933d7f63;p=lilypond.git diff --git a/ly/spanners-init.ly b/ly/spanners-init.ly index e86ea4ea74..7b26094e49 100644 --- a/ly/spanners-init.ly +++ b/ly/spanners-init.ly @@ -1,4 +1,4 @@ -\version "2.11.52" +\version "2.12.0" startGroup = #(make-span-event 'NoteGroupingEvent START) stopGroup = #(make-span-event 'NoteGroupingEvent STOP) @@ -21,30 +21,27 @@ stopTrillSpan = #(make-span-event 'TrillSpanEvent STOP) % STOP: junkme! cresc = { #(ly:export (make-event-chord (list cr))) - \set crescendoText = \markup { \italic "cresc." } - \set crescendoSpanner = #'text + \once \set crescendoText = \markup { \italic "cresc." } + \once \set crescendoSpanner = #'text } dim = { #(ly:export (make-event-chord (list decr))) - - \set decrescendoText = \markup { \italic "dim." } - \set decrescendoSpanner = #'text + \once \set decrescendoText = \markup { \italic "dim." } + \once \set decrescendoSpanner = #'text } enddim = { #(ly:export (make-event-chord (list enddecr))) - \unset decrescendoText - \unset decrescendoSpanner +% \unset decrescendoText +% \unset decrescendoSpanner } -% ah, this is handy: maybe drop resetting of properties in -% dynamic-engraver ? endcresc = { #(ly:export (make-event-chord (list endcr))) - \unset crescendoText - \unset crescendoSpanner +% \unset crescendoText +% \unset crescendoSpanner } %%%%%%%%%%%%%%%%