On 4/29/2020 2:00 PM, Pablo Rodriguez wrote:
Dear list,

for one of the documents I share with others, I need to add five
pagenumber series.

I’m already using realpage, userpage and subpage. I have just tried to
use \definecounter, but it doesn’t work.

     \setuppapersize[A9]
     \definecounter[ncounter]
         [way=bychapter]
     \starttext
     \rawcountervalue[ncounter]\page
     \incrementcounter[ncounter][1]
     \page
     \lastcountervalue[ncounter]
     \chapter{}
     \lastcountervalue[ncounter]
     \stoptext

I don’t know how to link any page increment to the defined counter.
Although method is page, this seems to be related to a different issue.

My question is: how could I get new pagenumber series using \definecounter?
\setuppapersize[A8]

\setupheadertexts[]
\setupcounter[subpage][way=bychapter]

\starttext
    \chapter{what}
    \rawsubcountervalue[subpage][1]\page
    \rawsubcountervalue[subpage][1]\page
    \rawsubcountervalue[subpage][1]\page
    \chapter{what}
    \rawsubcountervalue[subpage][1]\page
    \rawsubcountervalue[subpage][1]\page
    \rawsubcountervalue[subpage][1]\page
\stoptext

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to