lilypond-user
[Top][All Lists]
Advanced

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

Re: \tag can't follow \lyricsto


From: Han-Wen Nienhuys
Subject: Re: \tag can't follow \lyricsto
Date: Tue, 15 Jul 2008 20:35:10 -0300

On Tue, Jul 15, 2008 at 5:54 PM, Nicolas Sceaux <address@hidden> wrote:

> Why should \new SomeThing be followed by { .. } ?
>
> I don't really understand what the error is (and it is not
> obvious to me that it lies in the input rather than in the
> parser), but there are several ways to work around it, like
> changing the order (\new Lyrics before lyricsto) as Trevor
> said, or adding an explicit \lyricmode.

the mode switching commands (like lyricsto) are a bit erratic.
Sometimes, the parser needs to look ahead to determine what to do
next, and then it can happen that the next token is read in the wrong
mode.  This may lead to interactions like the one you saw.



-- 
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen




reply via email to

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