[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: \alternative fails if \repeat unfold proceeds it
From: |
Jean Abou Samra |
Subject: |
Re: \alternative fails if \repeat unfold proceeds it |
Date: |
Sat, 24 Feb 2024 20:26:16 +0100 |
User-agent: |
Evolution 3.50.4 (3.50.4-1.fc39) |
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.
> \alternative {
> \volta 1 { e4 e e e }
> \volta 2 { f4 f f f }
> }
> }
> g4 g g g
> }
>
> The work around is to have one line of non-repeated notes just before the
> \alternative section.
signature.asc
Description: This is a digitally signed message part