Marc Hohl <[email protected]> writes:

> Am 02.12.2011 12:02, schrieb David Kastrup:
>> Marc Hohl<[email protected]>  writes:
>>
>>> Hello list,
>>>
>>> I have a lot of small music pieces with several stanzas which I store
>>> like this
>>>
>>> textA = \lyricmode {
>>>    \set stanza = "1. "
>>>    this is the first stan -- za.
>>> }
>>>
>>> textB = \lyricmode {
>>>    \set stanza = "2. "
>>>    and this one is the se -- cond.
>>> }
>>>
>>> textC = ...
>> Why?  If you want them processed automatically, why do you put them into
>> dissociated macros and expect Lilypond to go hunting for them?
> How would you store several stanzas? It seemed very straightforward to use
> one variable (or macro) for one stanza.
>> It is reasonably easy to generate symbol names, check whether there is
>> anything bound to them, and collect them into some music, but it is also
>> arbitrary and error-prone.
>>
>> Is there a particular reason you want your stanzas to be stored in a
>> manner not useful for the processing you plan to do with them?
> Well, this was the easiest way that came into my mind, but it may be
> complete nonsens
> to do so - any more powerful ideas are highly appreciated.

Why not just one
\addlyrics { ... }

after the other?  That's how you would put them into your document,
wouldn't it?

-- 
David Kastrup


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

Reply via email to