But isn't it a good idea that \setuppagenumbering should do the \resetpagenumber by itself? After all changing the pagenumber and not having it take effect sounds not a natural way to do things. It least, in my eyes.
Surely Hans Hagen is listening and will "weigh the evidence".
On 6 jul. 2012, at 10:21, luigi scarso wrote:
On Fri, Jul 6, 2012 at 9:40 AM, Meer, H. van der
<H.vanderMeer@uva.nl> wrote:
Is \setuppagenumber broken? Or do it misuse it?
In the next minimal example the pagenumbers are not reset after the third page, as I would expect.
Hans van der Meer
\setuppapersize[A6][A6]
\starttext
\setuppagenumber[number=1,state=start]
page 1\page
page 2\page
page 3\page
\setuppagenumber[number=1]
page 4\page
page 5\page
page 6\page
\stoptext
This works
\setuppapersize[A6][A6]
\starttext
\setuppagenumber[number=1,state=start]
page 1\page
page 2\page
page 3\page
\setuppagenumber[number=1]\resetpagenumber
page 4\page
page 5\page
page 6\page
\stoptext