Looking at the various documentation snippets on repeats it looks like there is 
no way to use the \repeat instruction to encode what I’m trying to transcribe 
into Lilypond. 

Nevertheless want to check with the collective knowledge on this list to 
prevent that I’m somehow overlooking the obvious solution to my problem.

A minimal example of what I’m trying to achieve that renders fine for the 
printed sheet, but does not have the "from segno mark to codamark and then the 
coda” semantics embedded so that unfolding repeats would omit the segno-to-coda 
part:

\version β€œ2.24.0”
{
b1
\repeat volta 2 {
    c’ \segnoMark 1
    d' 
    e' \codaMark 1
    \alternative {
        \volta 1 {
            f'
        }
        \volta 2 {
            f' g' \break % from segno mark to coda mark and then the coda here
        }
    }
}
\section \sectionLabel "Coda” 
a’
}

Visually working for a printed sheet, but as the β€˜from segno mark to coda mark’ 
is not actually embedded in code it will not properly unfold.

What I’m trying to encode semantically is:



So the expected repeat-unfolded rendering I’m looking to achieve (without 
manually repeating the segnoMark to codaMark phrase before the actual coda ) 
would be
b (before the repeat)
c’ d’ e’ f’  (first repeat)
c’ d’ e’ f’ g’ (second repeat)
d’ e’ a’ (from segnoMark to codaMark followed by the coda)

Reply via email to