On 4/8/2019 12:21 AM, Rik Kabel wrote:
List,
The following example works as expected with MKIV but fails for me with
LMTX.
\setuppapersize[A7]
\setuppagenumbering [location=]
\definelayer [pageNumber][
x=\dimexpr\pagewidth-\cutspace\relax,
y=\topspace,
width=\pagewidth,
height=\pageheight,
]
\startsetups [setupPage]
\setlayer[pageNumber]
{\hskip\leftmargindistance
\inframed[frame=off,leftframe=on,loffset=1em]{\userpage}}
\stopsetups
\setupbackgrounds[page]
[setups=setupPage,
background=pageNumber]
\starttext
\page[empty]
\stoptext
use the official interface variables \paperwidth and \paperheight ...
\pagewidth and \pageheight were never user variables (so you were lucky
till now)
Hans
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___