lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Repeat alternative count


From: Christopher Heckman
Subject: Re: Repeat alternative count
Date: Sun, 30 Aug 2020 20:37:52 -0700

On Sun, Aug 30, 2020 at 11:59 AM David Kastrup <dak@gnu.org> wrote:
>
> Christopher Heckman <christopher.heckman@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

[Prev in Thread] Current Thread [Next in Thread]