On Aug 29, 2020, at 13:34, Aaron Hill <lilyp...@hillvisions.com> wrote: > > On 2020-08-29 9:02 am, Dan Eble wrote: >> On Aug 29, 2020, at 10:06, Kieren MacMillan >> <kieren_macmil...@sympatico.ca> wrote: >>> Hi all, >>>> On Aug 29, 2020, at 10:00 AM, Aaron Hill <lilyp...@hillvisions.com> wrote: >>>> %%%% >>>> \repeat volta 5 { >>>> ... >>>> } >>>> \alternative 1,3 { >>>> ... >>>> } >>>> \alternative 2,4,5 { >>>> ... >>>> } >>>> %%%% >>> That's pretty nice. >>> K. >> Considering trying not to stray too far from the current syntax, >> what's your opinion of this? >> \repeat volta 5 { >> … >> } \alternative { >> \volta 1,3 { … } >> \volta 2,4,5 { … } >> } > > Ah, of course. I forget that \alternative only occurs once and has nested > music inside it. If it were called \alternatives (plural), I'd probably get > it right for once.
You might be interested in the proposed \volta regression tests at https://gitlab.com/lilypond/lilypond/-/merge_requests/386#note_408536934 . Use within \alternative{} seems to work fine, but there are some rough edges in other cases. — Dan