[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 21:00:25 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
"Trevor Daniels" <address@hidden> writes:
> 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.
So use a layout block instead of a layout variable. Or, as I stated,
>>>> So maybe just override when there is no setting yet? Isn't that
>>>> what the template does with music variables as well?
for individual settings in the current layout.
--
David Kastrup
- Combining \layout variables, Trevor Daniels, 2015/05/05
- Re: Combining \layout variables, David Kastrup, 2015/05/05
- Re: Combining \layout variables, Trevor Daniels, 2015/05/05
- Re: Combining \layout variables, David Kastrup, 2015/05/05
- Re: Combining \layout variables, Trevor Daniels, 2015/05/05
- Re: Combining \layout variables, David Kastrup, 2015/05/05
- Re: Combining \layout variables, Trevor Daniels, 2015/05/05
- Re: Combining \layout variables, David Kastrup, 2015/05/05
- Re: Combining \layout variables, Trevor Daniels, 2015/05/05
- Re: Combining \layout variables,
David Kastrup <=
- Re: Combining \layout variables, Trevor Daniels, 2015/05/05
- Re: Combining \layout variables, Joram, 2015/05/05
- Re: Combining \layout variables, Joram, 2015/05/05
- Re: Combining \layout variables, David Kastrup, 2015/05/05