Le 09/07/2022 à 19:51, Jean Abou Samra a écrit :
Repeats are complicated and I didn’t give this much thought, so it might make 
no sense, but you see the basic idea: \unfoldRepeats would be able to unfold 
the music in a way that doesn’t need interrupting translation with an event in 
the middle. In the above, which … an event at the point of fine was entered in 
determines whether it is included at the unfolded end.



The currently recommended syntax for DS al fine
repeats is

\repeat segno 2 {
  c'1 1 1 1
  \volta 2 \fine
  c'1 1 1 1
}

This seems to work just as well, though:

\repeat segno 2 {
  c'1 1 1 1
  \volta 2 \fine
  \volta 1 { c'1 1 1 1 }
}

Do you see downsides with that syntax?


If not, how about recommending it and letting \fine no
longer abort translation outside of a folded repeat?

The old syntax will be broken in \unfoldRepeats, but we
could make \fine emit a warning if it appears before the
normal end and outside of a folded repeat so that this
won't go unnoticed.

Jean


Reply via email to