Anthony W. Youngman wrote:
Any other suggestions are welcome.

If it's all the same code, just bung it in a \include!
Ok, I placed the lines in the layout block into a .ly file and include
it wherever I would repeat the lines. I also tried to define an expression

dynamicsContext = {
  %% all the things that are in the include
}

But this failed to compile.
error: syntax error, unexpected CONTEXT_DEF_IDENTIFIER
when I try to use \dynamicsContext.

If it's similar code, look at using tags.
I started reading, but need to understand. It looks like a conditional construct in a definition. Will play around it...


Thanks,
Helge


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

Reply via email to