lilypond-devel
[Top][All Lists]
Advanced

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

Re: Combining \layout variables


From: David Kastrup
Subject: Re: Combining \layout variables
Date: Tue, 05 May 2015 18:44:13 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

"Trevor Daniels" <address@hidden> 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



reply via email to

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