On 9/4/2023 6:09 PM, Jeroen wrote:
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 \setupfootertexts [title] [\pagenumber\space of \lastpagenumber]
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------