[dev-context] \setupnote

Hans Hagen pragma at wxs.nl
Sun Jan 15 18:14:48 CET 2012


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.

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the dev-context mailing list