![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
At 10:09 PM 11/6/2002 +0100, you wrote:
The files above do not show the error, but if you uncomment the ...
It's related to the sectioning structure. (well, it show up there). The problem is in a local manipulation with the real page counter, adding grouping solves the problem: \def\savenofpages {\bgroup \advance\realpageno \minusone \savecurrentvalue\lastpage\realfolio \advance\userpageno \minusone \savecurrentvalue\lastpagenumber\folio \egroup} Now, for that extra last page, this is a side effect of resetting marks (should be an (e)tex primitive, but sofar i could not convince implementers). For the moment i'll add the following to my local cont-new file: \appendtoks \gdef\shipout{\dowithnextbox{\deadcycles\zerocount}}% \to \everylastshipout I hope that there are no unwanted side effects. Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------