On Sun, Aug 30, 2020 at 11:59 AM David Kastrup <d...@gnu.org> wrote:
>
> Christopher Heckman <christopher.heck...@asu.edu> writes:
>
> > How about allowing modifying the syntax of \alternative to include the
> > possibility of a number, which means to repeat that ending? This would
> > look like
> >
> > \alternative {
> >   { c1 }
> >   1
> >   { d1 }
> >   1
> >    }
> >
> > Which would be interpretted as: the 1st, 2nd, and 4th endings are c,
> > and the 3nd  ending is d.
>
> That is already valid syntax and makes the first and second alternative
> c1 and the third and fourth alternative d1 .
>
> Extending LilyPond syntax is not really a matter of arbitrarily
> inventing something: a lot of stuff is already taken.
>
> --
> David Kastrup

If Lilypond already does this, it ought to be documented. (It isn't,
not on the website anyway.)

--- Christopher Heckman

Reply via email to