Bernard Hurley wrote:
It may well be an accident, but it is an incredibly helpful trick. I wish I had
known it earlier.
I think it should be officially part of lily i.e. it should be documented and
maybe there should be a regression test for it.
It should be noted, though, that there's a problem if you try to use the
same trick several times on the same score line, see the example below.
If there's a line break in between, no such problems appear. This is
related to Issue 127 (perhaps also to the recently discussed Issue 1309,
though I haven't followed that thread in detail). In practical scores,
it seems fairly unlikely that these problems show up.
\score {
<<
\new Staff {
\new Voice = "melody" {
\relative c'' {
a4 a a a
\repeat volta 2 { b4 b b b }
a4 a a a
\repeat volta 2 { b4 b b b }
}
}
}
\new Lyrics \lyricsto "melody" {
Not re -- peat -- ed.
<<
{
The first time words.
}
\new Lyrics {
\set associatedVoice = "melody"
Sec -- ond time words.
}
>>
Not re -- peat -- ed.
<<
{
The first time words.
}
\new Lyrics {
\set associatedVoice = "melody"
Sec -- ond time words.
}
>>
}
>>
}
/Mats
_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond