lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

error when creating variable for paper block


From: Nikolai Hedler
Subject: error when creating variable for paper block
Date: Mon, 23 Mar 2015 15:43:44 -0400

I'm attempting to arrange a Bach organ fugue for brass quintet, and I am attempting to create a single file which outputs the score and all individual parts. I would like to create a variable which contains the contents of the \paper block for the individual parts, which is different than that of the main score, but for some reason, variable definition seems to function differently than I would expect.

I had thought that when a variable is defined, it would not be interpreted in-place, as it is meant to be used elsewhere; as such, if any error is found within the variable, the first error would be raised where the variable is called. Instead, it seems that the variable definition is treated as an isolated, non-printing music "object" which must be parsed for errors in-place before continuing. Because of this, any perceived error (i.e. the contents of a \paper block, which are valid in that context) results in a warning being raised "Music unsuitable for output-def" referring to the variable name.

This is incredibly inconvenient, as it seems to prevent anything but music itself from being defined within a variable. Is there any way around this or is this intended behavior?

Thanks in advance for your help!
Nikolai Hedler

reply via email to

[Prev in Thread] Current Thread [Next in Thread]