The following MWE shows pagenumbering starting at the second page with page
number 1. With the totalnumberofpages we end up with one page too many. Is
there a way to reduce this with 1?



\setupfootertexts
  [title]
  [\pagenumber{} of \totalnumberofpages]

\setcounter
  [userpage]
  [0]

\setuppagenumbering
  [location=]

\startdocument

\setupfooter[state=stop]
\startfrontmatter
frontpage
\stopfrontmatter
\setupfooter[state=start]

\startbodymatter
\dorecurse{10}{\samplefile{lorem}}
\stopbodymatter

\stopdocument
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

Reply via email to