bug-lilypond
[Top][All Lists]
Advanced

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

Re: \alternative fails if \repeat unfold proceeds it


From: Knute Snortum
Subject: Re: \alternative fails if \repeat unfold proceeds it
Date: Sat, 24 Feb 2024 11:52:51 -0800

On Sat, Feb 24, 2024 at 11:26 AM Jean Abou Samra <jean@abou-samra.fr> wrote:

> Le samedi 24 février 2024 à 11:05 -0800, Knute Snortum a écrit :
> > I've run into something that I think is a bug -- or I'm not understanding
> > something.  It happens when you are in a \repeat volta section and use a
> > \repeat unfold just before the \alternative section.
> >
> > \version "2.25.13"
> >
> > \relative {
> >   c''4 c c c |
> >   \repeat volta 2 {
> >     \repeat unfold 2 { d4 d d d }
> >     % d4 d d d % uncomment me and everything's fine
>
>
> That's legacy \alternative syntax kicking in for backwards compatibility.
> The \alternative gets attached to \repeat unfold. Try inserting {} here.
>

That works, thanks!  Do you think this deserves a "Known issues and
warnings" section in
https://lilypond.org/doc/v2.24/Documentation/notation/long-repeats#alternative-endings
?


--
Knute Snortum


reply via email to

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