Am 06.01.2009 um 21:23 schrieb Mats Bengtsson:
James E. Bailey wrote:
The problem I have is that when I switch between voices in my
melody, the lyrics don't pick up when the voice comes back. Is
that a bug?
You may have to make sure that the same context survives.
If you do, say,
\new Staff { \new Voice = AAA {c d e f } \new Voice = BBB {g a b c }
\context Voice = AAA { c1 }
}
the two "AAA" Voices will not be the same context, since the
first one dies after the f. Therefore, any lyrics associated with
the first measure will not continue to be associated with the
third measure.
One way to keep the context alive for the full piece is to do
\new Staff << \new Voice = AAA {s1*3}
\context Voice = AAA {c d e f } \new Voice = BBB {g a b c }
\context Voice = AAA { c1 }
>>
/Mats
Thanks. I remember seeing that in the choral template, but I never
understood that contexts "die" after they're no longer in use. That
explains a lot.
Can I request to the doc team that this be made a bit more explicit
in the documentation section on contexts?
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user