On 11/30/2021 11:39 AM, Taco Hoekwater wrote:
Hi,

Here is a question about \showlayout … is that not supposed to print different 
variable values on each page? I tried this:

\setuppagenumbering [alternative=doublesided]
\definelayout[1][rightmargin=5mm,width=fit]
\definelayout[even][rightmargin=80mm,width=fit]
\definelayout[odd][rightmargin=50mm,width=fit]
\setuplayout
\starttext
\showlayout[3]
\stoptext

and it updates the frame correctly on each page, but always prints the initial 
layout variables … I have 3 pages where only the frames differ.

Also, there is a fourth, empty page generated, but that I do not care much 
about.
no, the variables are only swapped on demand (in the otr and/or when we need them (e.g. when stuff goes into the margin, but then we also need to sync with the position)


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
_______________________________________________
dev-context mailing list
dev-context@ntg.nl
https://mailman.ntg.nl/mailman/listinfo/dev-context

Reply via email to