Hi Hans,
Would a \endrepeat be what is needed? Such that it would put in a :||
repeat if no \alternative was active and clean up if any \alternative
commands were coded. Maybe \repeat volta and \endrepeat could maintain
a list of currently active repeat blocks so that Lily knew which
\alternatives applied to which repeat block?
Any comments from anyone who know anything about the way this stuff works?
Is it a Frog-type task to take on? I'm currently dual booting
Windows-XP and Ubuntu and also trying to get my head round Scheme.
Cheers,
Ian Hulin
Hans Aberg wrote:
On 13 Mar 2009, at 10:47, till Rettig wrote:
And
perhaps a \finally command is needed to indicate that the rest of the
music
following (outside the \alternative) should receive an open-ended
volta bracket.
(This last one sounds to me like a straight-forward addition that
would solve
half the problems.)
I just added such a suggestion, right before I saw yours, which I called
\alternatovecontinue. But perhaps \finalalternative, \alternative final,
or something.
I think it might be added with the other alternative - but that is
really an implementation detail.
I think this would be a great improvement! We had also complaints on
the German forum about how to trick LilyPond to print open or instead
closed volta brackets that are independent of the printed bar lines.
I also found it it tricky to do cases like (pseudocode)
\alternative 1 3 {...}
\alternative 2 {...}
\alternative 4 {...}
Hans
_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond