[dev-context] \setupnote
Wolfgang Schuster
schuster.wolfgang at googlemail.com
Sun Jan 15 20:05:31 CET 2012
Am 15.01.2012 um 18:14 schrieb Hans Hagen:
> On 14-1-2012 19:55, Wolfgang Schuster wrote:
>
>> The problem is the following setting in page-app.mkiv
>>
>> \setuplayout
>> [fittingpage]
>> [\c!width=\d_page_fitting_width,
>> \c!height=\d_page_fitting_height,
>> \c!location=\v!middle]
>>
>> which changes the \textheight dimension (from the value set in page-lay.mkiv).
>>
>> Merging \definelayout and \setuplayout from
>>
>> \definelayout
>> [fittingpage]
>> [\v!page]
>>
>> \setuplayout
>> [fittingpage]
>> [\c!width=\d_page_fitting_width,
>> \c!height=\d_page_fitting_height,
>> \c!location=\v!middle]
>>
>> to
>>
>> \definelayout
>> [fittingpage]
>> [\v!page]
>> [\c!width=\d_page_fitting_width,
>> \c!height=\d_page_fitting_height,
>> \c!location=\v!middle]
>>
>> solves the problem.
>
> aha, I had noticed some weird side effects in other cases ... so I wonder when this was introduced, but it's a more serious issue then
>
> So, in the next beta check
>
> \installswitchsetuphandler
>
> In the switch variant we now have a dedicated token register for synchronization.
Why is \previouslayout defined as token register when it’s later only used to save the value of \currentlayout?
Wolfgang
More information about the dev-context
mailing list