![](https://secure.gravatar.com/avatar/d4db251f6da966f841fc5b1a9822eb56.jpg?s=120&d=mm&r=g)
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. Best wishes, Taco — Taco Hoekwater E: taco@bittext.nl genderfluid (all pronouns)
![](https://secure.gravatar.com/avatar/46562c7d27388490d62e8d7a5bc960dd.jpg?s=120&d=mm&r=g)
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 -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Taco Hoekwater