|
From: | Auto mailings of changes to Lily Issues |
Subject: | [Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] #5047 markLengthOn sometimes fails if second voice has a Spanner |
Date: | Wed, 01 Feb 2017 23:17:29 +0000 |
Some observations:
This happens for some other spanners as well, if they are bounded by spacers not at the same moment as the NoteColumns.
Replacing the spacer with rests work
It fails for MetronomeMark, but not for RehearsalMark!
Test code:
\version "2.19.52" \paper { indent = 30 } \markup \rounded-box "Test with spacers: \\markLengthOn fails" $@(map (lambda (mus mrkp) #{ \new Staff \with { instrumentName = #mrkp } << { \markLengthOn \tempo "MetronomeMark" c''1 \tempo "next one" d''1 } { s4 #mus s1 } >> #}) (list #{ s2\< s4\! #} #{ s2\startTextSpan s4\stopTextSpan #} #{ s2\startTrillSpan s4\stopTrillSpan #} #{ s2( s4) #} #{ s2~ s4 #} #{ \[s2 s4\] #}) '("Hairpin" "TextSpanner" "TrillSpanner" "Slur" "Tie" "LigatureBracket")) \markup \rounded-box "Same with (omitted) Rests: \\markLengthOn works" $@(map (lambda (mus mrkp) #{ \new Staff \with { instrumentName = #mrkp } << { \markLengthOn \tempo "MetronomeMark" c''1 \tempo "next one" d''1 } { s4 \omit Rest #mus s1 } >> #}) (list #{ r2\< r4\! #} #{ r2\startTextSpan r4\stopTextSpan #} #{ r2\startTrillSpan r4\stopTrillSpan #} #{ r2( r4) #} #{ r2~ r4 #} #{ \[r2 r4\] #}) '("Hairpin" "TextSpanner" "TrillSpanner" "Slur" "Tie" "LigatureBracket")) \markup \rounded-box "Same with spacers and \\mark: \\markLengthOn works" $@(map (lambda (mus mrkp) #{ \new Staff \with { instrumentName = #mrkp } << { \override Score.RehearsalMark.self-alignment-X = #LEFT \markLengthOn \mark "RehearsalMark" c''1 \mark "next one" d''1 } { s4 #mus s1 } >> #}) (list #{ s2\< s4\! #} #{ s2\startTextSpan s4\stopTextSpan #} #{ s2\startTrillSpan s4\stopTrillSpan #} #{ s2( s4) #} #{ s2~ s4 #} #{ \[s2 s4\] #}) '("Hairpin" "TextSpanner" "TrillSpanner" "Slur" "Tie" "LigatureBracket"))
[issues:#5047] markLengthOn sometimes fails if second voice has a Spanner
Status: Accepted
Created: Wed Feb 01, 2017 11:10 PM UTC by Thomas Morley
Last Updated: Wed Feb 01, 2017 11:10 PM UTC
Owner: nobody
Dave Hartley reports here:
http://lists.gnu.org/archive/html/lilypond-user/2017-02/msg00000.html
about \markLengthOn sometimes failing, if a second voice carries a Hairpin.
Minimal example:
\version "2.19.52" \new Staff << { \markLengthOn \tempo "MetronomeMark" c''1 \tempo "next one" d''1 } { s4 s2\< s4\! s1 }
Sent from sourceforge.net because address@hidden is subscribed to https://sourceforge.net/p/testlilyissues/issues/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/testlilyissues/admin/issues/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________ Testlilyissues-auto mailing list address@hidden https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto
[Prev in Thread] | Current Thread | [Next in Thread] |