bug-lilypond
[Top][All Lists]
Advanced

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

Re: \tag can't follow \lyricsto


From: Roman Stawski
Subject: Re: \tag can't follow \lyricsto
Date: Tue, 15 Jul 2008 02:50:23 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Trevor Daniels <t.daniels <at> treda.co.uk> writes:

> 
> 
> ----- Original Message ----- 
> > Date: Mon, 14 Jul 2008 15:45:32 +0000 (UTC)
> > From: Roman Stawski <roman <at> stawski.fr>
> > Subject: \tag can't follow \lyricsto
> > To: bug-lilypond <at> gnu.org
> > Message-ID: <loom.20080714T154050-338 <at> post.gmane.org>
> > Content-Type: text/plain; charset=us-ascii
> >
> >> I'm not top posting.
> >
> > 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" \new Lyrics { Whoops }
> >  % {}    % <-- \tag provokes syntax error if this line is commented out
> >  \tag #'harmony { a'1 }
> >>>
> 
> The \tag command appears not to define a new Staff/Voice
> implicitly, whereas {} does, so the command fails without
> the {}.  However, this seems a poor structure for an
> input file, as it is quite unclear whether the tagged
> line should generate a new staff, generate a new voice,
> or be part of "dirge".  So, not really a bug, just a bad
> input file.
> 
> Trevor
> 

I'm not sure that I understand your explanation. However, perhaps I overpruned 
my example. The following has explicit staves, yet it behaves exactly in the
same way. I _think_ that in this case the input file is unambiguous.
---
\version "2.11.49"
\paper{ ragged-right=##t }
<<
 \new Staff { \new Voice = "dirge" { c''1 } }
 \lyricsto "dirge" \new Lyrics { Whoops }
 % {}    % <-- \tag provokes syntax error if this line is commented out
 \tag #'harmony \new Staff { a'1 }
>>
---

Thanks for your answer. Let me know if I'm still off the track.

Roman





reply via email to

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