Repost: Re: \tag can't follow \lyricsto

2008-07-20 Thread Roman Stawski
Valentin Villenave gmail.com> writes: > > 2008/7/16 Nicolas Sceaux free.fr>: > > > You can conditionnaly insert music using a music function. > > Awesome! Can you (or Roman) write a LSR snippet with this great function? > > Cheers, > Valentin > (Previous message seems to have gone AWOL) S

Re: \tag can't follow \lyricsto

2008-07-16 Thread Valentin Villenave
2008/7/16 Nicolas Sceaux <[EMAIL PROTECTED]>: > You can conditionnaly insert music using a music function. Awesome! Can you (or Roman) write a LSR snippet with this great function? Cheers, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org

Re: \tag can't follow \lyricsto

2008-07-16 Thread Nicolas Sceaux
Le 16 juil. 08 à 13:31, Roman Stawski a écrit : The command order I'm using is from a really old template that I've been using for years without problems. I came across your formulation when checking an answer to another post on the bugs list. Looks as if I'll have to update my templates. (Who'

Re: \tag can't follow \lyricsto

2008-07-16 Thread Roman Stawski
Trevor Daniels wrote OK, I see what you are trying to do. The error is that the order of the commands in the lyrics line is wrong, and the \new Lyrics command should be followed by { .. } just like \new Staff is. Then it works fine, like this: \new Staff { \new Voice = "dirge" { c''1 } } \n

Re: \tag can't follow \lyricsto

2008-07-16 Thread Valentin Villenave
2008/7/16 Han-Wen Nienhuys <[EMAIL PROTECTED]>: > 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 t

Re: \tag can't follow \lyricsto

2008-07-16 Thread Trevor Daniels
Nicolas Sceaux wrote Le 15 juil. 08 à 21:02, Trevor Daniels a écrit : Roman Stawski wrote << \new Staff { \new Voice = "dirge" { c''1 } } \lyricsto "dirge" \new Lyrics { Whoops } \tag #'harmony \new Staff { a'1 } >> OK, I see what you are trying to do. The error is that the order of the

Re: \tag can't follow \lyricsto

2008-07-15 Thread Han-Wen Nienhuys
On Tue, Jul 15, 2008 at 5:54 PM, Nicolas Sceaux <[EMAIL PROTECTED]> 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 a

Re: \tag can't follow \lyricsto

2008-07-15 Thread Nicolas Sceaux
Le 15 juil. 08 à 21:02, Trevor Daniels a écrit : Roman Stawski wrote << \new Staff { \new Voice = "dirge" { c''1 } } \lyricsto "dirge" \new Lyrics { Whoops } \tag #'harmony \new Staff { a'1 } >> OK, I see what you are trying to do. The error is that the order of the commands in the lyrics li

Re: \tag can't follow \lyricsto

2008-07-15 Thread Trevor Daniels
Roman Stawski wrote > The \tag command provokes a syntax error if it immediately follows a > \lyricsto > command. A work-around is to insert an empty expression {} between the > two. > > \version "2.11.49" > \paper{ ragged-right=##t } > << > \new Voice = "dirge" { c''1 } > \lyricsto "dirge" \