[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Extraneous repeat with leading rest
From: |
Todd Hesla |
Subject: |
Extraneous repeat with leading rest |
Date: |
Thu, 24 Jan 2013 13:34:46 -0600 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
When processing a repeat block with a leading rest (and lyrics), Lilypond 2.14.2
adds an extraneous leading repeat sign where the lyrics start (after the rest).
The snippet below reliably reproduces the problem. If the lyrics are removed
(that is, if the "lyricsto" line is commented out), the extraneous repeat sign
disappears.
- - - - - - - - - - - - - - - - - - - - - - - - - -
\version "2.14.2"
notes = \relative c' {
c4 c c c |
\repeat volta 2 { r c d e | f g a( b) | c1 | }
}
words = \lyricmode {
I want to sing.
\repeat volta 2 {
Cre -- ate in me a clean heart.
}
}
\score {
\new Staff <<
\clef treble
\time 4/4
\key c \major
\new Voice = "solo" \notes
\lyricsto "solo" \new Lyrics \words
>>
}
- - - - - - - - - - - - - - - - - - - - - - - - - -
Lilypond appears to be confused by the presence of the lyrics into thinking that
the repeat block starts where the lyrics begin (after the rest).
Is this a bug, or is there a way to get Lilypond to realize that the repeat
block actually starts before the rest.
Thanks for your help.
Regards,
--
Todd Hesla
- Extraneous repeat with leading rest,
Todd Hesla <=