PageNumber in MetaFun
2 Mar
2022
2 Mar
'22
12:05 p.m.
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 rectangle on page 2, an older MkIV produces a circle on page 2. Is this expected behaviour? Marco
2 Mar
2 Mar
12:15 p.m.
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
1026
Age (days ago)
1026
Last active (days ago)
2 comments
2 participants
participants (2)
-
Marco Patzer
-
Thomas A. Schmitz