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
___________________________________________________________________________________
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
___________________________________________________________________________________