RE: Counter in a repeat

2017-07-28 Thread John Schlomann
Hmmm. Maybe I looked right past the simple solution. Wouldn't be the first time. Thanks, I'll try this. John > -Original Message- > From: David Kastrup [mailto:d...@gnu.org] > Sent: Friday, July 28, 2017 4:26 PM > To: John Schlomann > Cc: lilypond-user@gnu.org &g

Re: Counter in a repeat

2017-07-28 Thread David Kastrup
"John Schlomann" writes: > David, > Your response doesn't give me hope for a simple solution. Oh come on. stanza = \relative { ... } { \keepWithTag first \stanzaI \keepWithTag second \stanzaI \keepWithTag third \stanzaI } Just because \repeat unfold does not work in this case does not m

RE: Counter in a repeat

2017-07-28 Thread John Schlomann
t verses), I'd rather not use the dashed ties and slurs on the screen. That's more suited to the print version. John > -Original Message- > From: David Kastrup [mailto:d...@gnu.org] > Sent: Friday, July 28, 2017 12:04 PM > To: John Schlomann > Cc: lilypo

Re: Counter in a repeat

2017-07-28 Thread David Kastrup
"John Schlomann" writes: > Hello Everyone, > > I'd like to maintain a counter that can track the current number of passes > through a repeat, something like this: > > \version "2.18.2" > > > > rpt-number = 0 % Initialize the counter > > { > > \repeat unfold 3 { > > #(set! rpt-number (1+