lilypond-user
[Top][All Lists]
Advanced

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

Re: repeated lyrics in 2.2.0


From: David Raleigh Arnold
Subject: Re: repeated lyrics in 2.2.0
Date: Wed, 28 Apr 2004 18:49:41 -0400
User-agent: KMail/1.5.4

On Wednesday 28 April 2004 12:22, Jos Smeets wrote:
> In Lilypond 2.0.1 I could handle repeated lyrics as follows:
>
>  \repeat fold 2 { }
>       \alternative {{Bla bla }{ Pom pom }}
>
> After I upgraded to 2.2.0 this stopped working. I cannot find a way
> to handle this now. Can anyone help?

Looking at the doc, I think that the syntax is going to have to be
changed.  Has it been?  I was looking at the newer online doc.:

beginquote:

Bugs

A nested repeat like

     \repeat ...
     \repeat ...
     \alternative

is ambiguous, since it is is not clear to which \repeat the \alternative
belongs. This ambiguity is resolved by always having the \alternative
belong to the inner \repeat. For clarity, it is advisable to use braces
in such situations.

endquote.

I don't understand this at all.  What nested repeat?  Nested repeats are
still completely illegal AFAIK.  That's what the D.C., D.S., al
fine, fine, segno, coda, and fermata (when over a double bar) are for.
Is the intention that these will be used for outer repeats?  I think
that it would be too confusing to have \repeat refer to something
other than repeat signs because:

You are going to have to add a two pairs of curlies:

\repeat { pickup note
    \repeat {{ stuff }
        \alternative {{ ...}{...}}} 
    \alternative { the rest of the theme }}

to nest anything one level.  What a nightmare.  \dacapo \dalsegno
\alcoda \alsegno \coda \segno \alfermata (which would have to be silent)
and \barfermata, which allows a theme in a theme and variations to not
end if it has a D.C. or D.S already in it, is preferable to having so
many more curlies.

There is no way for lilypond to know whether a barfermata or a fine
should be used, because the only difference is whether the piece has
more sections or not.  There could well be already three levels of
nesting.  My head hurts already.

I'm sure you *can* nest three levels automatically, and all you would
need would be to indicate whether a barfermata or fine should be used,
but there would have to be so many curlies that it would be very
difficult for a user to understand what he was typing.  It's not worth
it, IMHO.

You didn't nest slurs with curlies and that's much simpler, so there's
far less reason to nest repeats with curlies.

I don't see how you can avoid putting \alternative within curlies
either, because alternatives can be at different levels and so the
repeat sign might not belong to the last volta.  Requiring that one
extra pair of curlies eliminates your bug and turns it into a feature.
daveA

-- 
Paying more at the gas pump?  Bush's Oil Sheikh Buddies, who support Al
Qaeda, Palestinian terrorists, & hate-U.S. school systems everywhere,
need more of your money now to arm and pay Iraqis to kill Americans.
D. Raleigh Arnold dra@ (http://www.) openguitar.com address@hidden






reply via email to

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