[NTG-context] problem with counters (page)

Alan Bowen bowenalan03 at gmail.com
Tue Jun 9 23:34:25 CEST 2020


My efforts to set up a new page counter in the footertexts of a book are
not proving successful. The following code shows the nature of the problem.

\definecounter[volpage][type=page, way=bypage]
\starttext
\setcounter[volpage][5]
\dorecurse{3}{\startTEXpage[offset=2pc]
\input ward
\blank[medium]
\centerline{\red\tfa\rawcounter[volpage]\incrementcounter[volpage]}
\stopTEXpage}
\stoptext

As you will see, the counter is not incremented on pages 2 and 3.

I expect that I have missed something important. But what?

Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20200609/cfa5334d/attachment.htm>


More information about the ntg-context mailing list