bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vocalName isn't visible in the output


From: David Kastrup
Subject: Re: vocalName isn't visible in the output
Date: Tue, 07 May 2013 18:07:25 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Lukas Sommer <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]