"Trevor Daniels" <[email protected]> writes:

> David Kastrup wrote Tuesday, May 05, 2015 5:22 PM
>
>>> Well, yes, I knew that, but the effect is that existing definitions
>>> are overridden iff they appear later, while new definitions are added,
>>> so definitions assigned early can act as defaults.
>> 
>> And why wouldn't that work in your use scenario?
>> 
>> What is wrong with setting a layout definition in the satb.ly template
>> that then gets amended by the user?
>> 
>
> The answer to both these questions is that the satb.ly template
> comes after the user's code in the input file.  So the overriding
> operates the wrong way round.

So maybe just override when there is no setting yet?  Isn't that what
the template does with music variables as well?

-- 
David Kastrup

_______________________________________________
lilypond-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to