This must be an obscure bug, unless I am missing something obvious. An
even shorter illustration of the bug is:
\version "2.8.0"
sopMusic = \relative c'' {
c4 c c8( b) c4
}
sopWords = \lyricmode {
hi hi hi __ hi
}
\score { <<
\new Lyrics = sopI { s1 }
\new Staff = women {
\new Voice =
"sopranos" \sopMusic }
\new Lyrics = sopII { s1 }
\context Lyrics = sopI \lyricsto sopranos \sopWords
\context Lyrics = sopII \lyricsto sopranos \sopWords
>>
}
Luckily, there is a workaround, namely to use the alignAboveContext
property that so far only is documented in the example called
"alignment-order.ly" in the Regression Tests document. Then you don't
have to define the Lyrics contexts before you use them. Instead you can
do:
\version "2.8.0"
sopMusic = \relative c'' {
c4 c c8( b) c4
}
sopWords = \lyricmode {
hi hi hi __ hi
}
\score { <<
\new Staff = women {
\new Voice =
"sopranos" \sopMusic }
\context Lyrics = sopI {\set alignAboveContext = "women"
\lyricsto sopranos \sopWords }
\context Lyrics = sopII \lyricsto sopranos \sopWords
>>
}
I have no idea why this works but the other version doesn't work, though.
/Mats
Quoting Georg Dummer <[EMAIL PROTECTED]>:
Hi all,
I have the following problem with Lyrics extenders. In the "altos" voice it
is drawn properly.
But in the "sopranos" the externder is missed out.
Thanks for any suggestion.
Georg
\version "2.8.0"
global = {
\key c \major
\time 4/4
}
sopMusic = \relative c'' {
c4 c c8( b) c4
}
sopWords = \lyricmode {
hi hi hi __ hi
}
altoMusic = \relative c' {
e4 f d8( d) e4
}
altoWords =\lyricmode {
ha ha ha __ ha
}
\score {
\new ChoirStaff <<
\new Lyrics = sopranos { s1 }
\new Staff = women <<
\new Voice =
"sopranos" { \voiceOne << \global \sopMusic >> }
\new Voice =
"altos" { \voiceTwo << \global \altoMusic >> }
>>
\new Lyrics = "altos" { s1 }
\context Lyrics = sopranos \lyricsto sopranos \sopWords
\context Lyrics = altos \lyricsto altos \altoWords
>>
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user