10 Sep
2024
10 Sep
'24
8:47 a.m.
On 10/09/2024 06:32, ai2472206007@yeah.net wrote:
I changed the command, and now I get the correct page number with this command, \ but how should he do the calculation?
this gives an interesting result with a colorful mix of page numbers, although it is not obvious to me as why. \setupinterlinespace[18pt] \definepagestate[test][delay=yes] \starttext \dorecurse{15}{ {\ssd\color[red]{\setpagestate[test]\pagestaterealpage{test}{#1}}} \input knuth {\ssd\color[green]{\setpagestate[test]\pagestaterealpage{test}{#1}}} } \stoptext