Nick Payne wrote Wednesday, June 10, 2009 11:55 PM


Is there anywhere in the documentation that states where whitespace *is* required? I was getting a warning in my console output: "warning: More alternatives than repeats. Junking excess alternatives", and I couldn't see what could be causing this. I eventually found that that warning was caused by having no space between ] and } in one of the alternatives. i.e.

{g'8[ g g g g g]}

instead of

{g'8[ g g g g g] }

As making that change got rid of the warning.

The only mention I could find regarding whitespace was s.2.1.3 of the
learning manual, which doesn't really cover this case.

There is advice in Learning Manual 2.1.3 to surround
braces with whitespace:

"The braces should be surrounded by a space unless
they are at the beginning or end of a line to avoid
ambiguities."

However, I've just added a further paragraph to that
section to emphasise that whitespace can always be
added, but not eliminated, especially round braces.

Nick

Trevor



_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to