Hi Tim,
I've lost where I found it now, so maybe I was just thought I was
still in the documentation on the webpage I was browsing!
It might be there... I'm just surprised that the docs have such a
thing (which clearly cause a problem).
But presumably I have to count up the bars and put in the appropriate
number of silent rests? That seems clunky
Another [less radical] option is simply to leave the volta structure
*in* your "melody" variable but *remove* it from your "words" variable:
\version "2.12.2"
\include "english.ly"
melody = \relative c' {
\repeat volta 2 {
c4 d e f |
}
\alternative
{
{ g1 }
{ c,1 }
}
}
words = \lyricmode {
do re mi fa
{ so }
{ do }
}
\score {
<<
\new Staff { \melody }
\addlyrics { \words }
>>
}
This should solve your problem (i.e., no spurious repeats) without
requiring restructuring of your code.
Hope this helps!
Kieren.
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user