Willi Egger schrieb am 29.07.2020 um 21:43:
Good evening!
I am trying to make use of the userpagenumber counter. I have a book at hand, where I need to adjust the start of the pagenumbering.
It appears to me, that the \setupcounter[userpagenumber[state=stop] and later the \setupcounter[userpagenumber][state=start,start=7] is not giving the expected result.
MWE:
[...]
Is this a bug or do I miss something?
The second one. The name of the counter isn't "userpagenumber" and you don't even have to know the name of the counter because \setupuserpagenumber has the same options (and passes the values to \setupcounter). \setupfootertexts[\userpagenumber] \starttext \setupuserpagenumber[state=stop] \dorecurse{10}{\input knuth } \page \setupuserpagenumber[state=start,number=7] \dorecurse{10}{\input zapf } \stoptext Wolfgang