Re: Repeat alternative count

2020-09-07 Thread Dan Eble
On Aug 29, 2020, at 13:34, Aaron Hill wrote: > > On 2020-08-29 9:02 am, Dan Eble wrote: >> On Aug 29, 2020, at 10:06, Kieren MacMillan >> wrote: >>> Hi all, On Aug 29, 2020, at 10:00 AM, Aaron Hill wrote: \repeat volta 5 { ... } \alternative 1,3 { ...

Re: Repeat alternative count

2020-08-31 Thread David Kastrup
Christopher Heckman writes: > On Sun, Aug 30, 2020 at 11:59 AM David Kastrup wrote: >> >> Christopher Heckman 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 >> >

Re: Repeat alternative count

2020-08-30 Thread Christopher Heckman
On Sun, Aug 30, 2020 at 10:34 PM Werner LEMBERG wrote: > > > >> > \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

Re: Repeat alternative count

2020-08-30 Thread Werner LEMBERG
>> > \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

Re: Repeat alternative count

2020-08-30 Thread Christopher Heckman
On Sun, Aug 30, 2020 at 11:59 AM David Kastrup wrote: > > Christopher Heckman 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

Re: Repeat alternative count

2020-08-30 Thread David Kastrup
Christopher Heckman 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,

Re: Repeat alternative count

2020-08-30 Thread David Kastrup
Dan Eble writes: > After further thought, I believe we can do this, but using \volta > where you have \alternative. These are my current thoughts (some > informed by experiment). > > \volta i,j,k can be used anywhere and is semantically similar to tags. > During unfolding, music is kept which

Re: Repeat alternative count

2020-08-30 Thread Dan Eble
On Aug 29, 2020, at 15:50, Dan Eble wrote: > > On Aug 29, 2020, at 14:52, David Kastrup wrote: >> >> \repeat volta 40 { >> ... >> \alternative { ... } >> \alternative { ... } >> \alternative { ... } >> } >> >> since that would avoid several syntactical problems and would allow to >> produce

Re: Repeat alternative count

2020-08-29 Thread Christopher Heckman
On Sat, Aug 29, 2020 at 9:00 AM wrote: > > -- > > Message: 1 > Date: Sat, 29 Aug 2020 07:00:17 -0700 > From: Aaron Hill > To: lilypond-devel@gnu.org > Subject: Re: Repeat altern

Re: Repeat alternative count

2020-08-29 Thread David Kastrup
Dan Eble writes: > On Aug 29, 2020, at 14:52, David Kastrup wrote: >> >> My own take on it is that \alternative syntax is an abomination and it >> should likely be more like >> >> \repeat volta 40 { >> ... >> \alternative { ... } >> \alternative { ... } >> \alternative { ... } >> } >> >>

Re: Repeat alternative count

2020-08-29 Thread Dan Eble
On Aug 29, 2020, at 14:52, David Kastrup wrote: > > My own take on it is that \alternative syntax is an abomination and it > should likely be more like > > \repeat volta 40 { > ... > \alternative { ... } > \alternative { ... } > \alternative { ... } > } > > since that would avoid several

Re: Repeat alternative count

2020-08-29 Thread David Kastrup
Dan Eble writes: > Is there a use case for specifying the number of times to reuse a repeat > alternative in a way that \unfoldRepeats could honor? Right now, it reuses > the first alternative enough times to reach the repeat count. If so, does > anyone want to suggest a syntax? Here's my

Re: Repeat alternative count

2020-08-29 Thread Aaron Hill
On 2020-08-29 9:02 am, Dan Eble wrote: On Aug 29, 2020, at 10:06, Kieren MacMillan wrote: Hi all, On Aug 29, 2020, at 10:00 AM, Aaron Hill wrote: \repeat volta 5 { ... } \alternative 1,3 { ... } \alternative 2,4,5 { ... } That's pretty nice. K. Considering trying not to

Re: Repeat alternative count

2020-08-29 Thread Dan Eble
On Aug 29, 2020, at 10:06, Kieren MacMillan wrote: > > Hi all, > >> On Aug 29, 2020, at 10:00 AM, Aaron Hill wrote: >> >> >> \repeat volta 5 { >> ... >> } >> \alternative 1,3 { >> ... >> } >> \alternative 2,4,5 { >> ... >> } >> > > That's pretty nice. > > K. Considering trying

Re: Repeat alternative count

2020-08-29 Thread Kieren MacMillan
Hi all, > On Aug 29, 2020, at 10:00 AM, Aaron Hill wrote: > > > \repeat volta 5 { > ... > } > \alternative 1,3 { > ... > } > \alternative 2,4,5 { > ... > } > That's pretty nice. K. Kieren MacMillan, composer (he/him/his) ‣ website:

Re: Repeat alternative count

2020-08-29 Thread Aaron Hill
On 2020-08-29 6:37 am, Dan Eble wrote: Is there a use case for specifying the number of times to reuse a repeat alternative in a way that \unfoldRepeats could honor? Right now, it reuses the first alternative enough times to reach the repeat count. If so, does anyone want to suggest a syntax?

Re: Repeat alternative count

2020-08-29 Thread Benkő Pál
\alternative volta 3 { ... } ? Dan Eble ezt írta (időpont: 2020. aug. 29., Szo, 15:37): > > Is there a use case for specifying the number of times to reuse a repeat > alternative in a way that \unfoldRepeats could honor? Right now, it reuses > the first alternative enough times to reach the

Repeat alternative count

2020-08-29 Thread Dan Eble
Is there a use case for specifying the number of times to reuse a repeat alternative in a way that \unfoldRepeats could honor? Right now, it reuses the first alternative enough times to reach the repeat count. If so, does anyone want to suggest a syntax? Here's my entry. \repeat volta