Christopher Heckman <christopher.heck...@asu.edu> writes: > 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.)
It does something entirely different. If it sees an isolated duration in a sequential music expression, it creates a note event taking the pitch from the previous note. That is documented. -- David Kastrup