Lukas Sommer <[email protected]> writes:

>> I'm not top posting.
> % Bug report: The "vocalName" of the Lyrics context isn't visible in the
> output: The text "myvocalname" should appear in the output, but it doesn't.
> % The problem seems to occur as long as the corresponding voice (here
> "myvoice") starts with a rest: If you remove "r2" than "myvocalname" appears
> correctly in the output.
> \version "2.16"
> \score { <<
>       \context Staff << \context Voice = myvoice { r2 a2 }  >>
>       \context Lyrics \lyricsto myvoice  \lyricmode {  \set vocalName =
> #"myvocalname" mylyrics }
>>> }

That's not an actual bug I think.  \set vocalName is synchronized to
myvoice's first note.  After all, that's what "\lyricsto" is supposed to
do and you would complain in other situations if it processed \set at a
different time step than the corresponding syllable.

At the point of time \set is processed, vocalName has already been
consulted.  You can fix that problem by starting out the context with
the setting, namely

\new Lyrics \with { vocalName = #"myvocalname" } \lyricsto myvoice ...

-- 
David Kastrup


_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to