2008/8/10 Trevor Daniels <[EMAIL PROTECTED]>:
> There may be better ways, but this works, and is adequate
> for experimentation:
Thanks for this, Trevor; it's easier to see what's going on than using
\displayMusic.
I noticed something strange going on when using \addlyrics; perhaps it
should be documented as a `known issue'. Consider the following
snippet:
verseOne = \lyricmode { Joy to the world the Lord is come }
\score {
<<
\new Voice = "one" \relative c'' {
\autoBeamOff
\time 2/4
c4 b8. a16 g4. f8 e4 d c2
}
\addlyrics { \verseOne }
\new Lyrics \lyricsto "one" \verseOne
>>
}
You'd guess that this would produce a stave with two sets of lyrics,
but what actually happens is that \addlyrics renames the voice context
to `uniqueContext0', which means the \new Lyrics block can't find
anything to attach itself to. I presume this is a known bug, since the
helper function used by \addlyrics to retrieve the context id has a
TODO saying `It seems that this function rarely returns anything
useful.' :)
Regards,
Neil
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user