On Tue, 21 Feb 2006, Han-Wen Nienhuys wrote:
...
there is only 1 SpacingSpanner in the entire score. You can only
override it at the start.
Just a half-baken, weired idea (and not at all thoroughly thought
through): Are there much more examples of properties that can be
overridden only once at start? For example, StaffSymbol #'line-count
comes into my mind. If yes, and if the syntax for 3.0 will change
anyway heavily, you may want to model these properties as arguments
that are passed to a context upon instantiation, maybe something like:
\new Staff = "chant" [StaffSymbol #'line-count = #4] { \myMusic }
If the user tries to modify line-count at any other place than at
context instantiation, lily could emit an error, saying that this
property may only be initialized once at context instantiation.
However, if there are only very few such properties, then it's
probably not at all worth introducing a new syntactical construct.
Greetings,
Juergen
_______________________________________________
lilypond-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-devel