lilypond-devel
[Top][All Lists]
Advanced

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

Re: Combining \layout variables


From: Trevor Daniels
Subject: Re: Combining \layout variables
Date: Tue, 5 May 2015 19:52:20 +0100

David, you wrote Tuesday, May 05, 2015 7:14 PM


> "Trevor Daniels" <address@hidden> writes:
> 
>> David Kastrup wrote Tuesday, May 05, 2015 5:44 PM
>>>
>>
>>> "Trevor Daniels" <address@hidden> writes:
>>> 
>>>> 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?
>>
>> That's what I was intending to do originally, but the easy
>> way is all or nothing - if the user sets any definition
>> all the defaults vanish.
> 
> Sigh.  Decide yourself.  First you stated that the user settings are
> loaded first, followed by the satb.ly template (which would consequently
> be able to override single settings).

Yes, the user settings are loaded first, and any setting in the
template will then override any set by the user.  That's the
wrong way round - the user should be able to override the template
defaults.

> Now you state that the satb.ly
> template gets first with setting defaults.

No, I didn't mean that, but I wasn't clear.  That paragraph
was referring to using layout variables in the hope that the
order could be inverted.  But then things work
differently.  It is not possible to use layout variables
in the same way as layout blocks.  That was my initial
question - whether there was a way to make them work the same
way as layout blocks.  If that were possible I could invert the
order.

Sorry to be so confusing.

Trevor

reply via email to

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