On Wed, 2 Mar 2022 13:15:18 +0100
"Thomas A. Schmitz via ntg-context" wrote:
> try "RealPageNumber" instead of "PageNumber."
That works. Thanks for the quick reply.
Marco
___
If your question is of interest to
On 3/2/22 13:05, Marco Patzer via ntg-context wrote:
LMTX 2022.01.21 20:13 produces a rectangle on page 2, an older MkIV
produces a circle on page 2. Is this expected behaviour?
Marco
This has changed some time ago; try "RealPageNumber" instead of
"PageNumber."
Thomas
Hi!
Has something changed regarding PageNumber? Take the following
example:
\starttext
foo\page
\startMPcode
if PageNumber==1:
fill unitsquare scaled 1cm;
elseif PageNumber==2:
fill fullcircle scaled 2cm;
fi
\stopMPcode
\stoptext
LMTX 2022.01.21 20:13 produces a