Hi, this is somewhat tricky as numbers are incremented and then need to be decremented when ranges are saved. \enabletrackers[structures.counters] \setupheadertexts[\tt sub:\subpagenumber \ – nofsub:\nofsubpages – lastsub:\lastsubpage] \setupfootertexts[\tt usr:\userpagenumber\ – nofusr:\nofuserpages – lastusr:\lastuserpage] % \setupuserpagenumber[way=bychapter,state=start] \setupsubpagenumber[way=bychapter,state=start] \starttext % \dorecurse{3}{\chapter{!!}\dorecurse{10}{\input knuth\par}\page} % \resetsubpagenumber} \dorecurse{3}{\chapter{!!}\dorecurse{10}{\input knuth\par}\resetsubpagenumber} \stoptext I've put a beta on the ftp server. I hope that there are no side effects. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------