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 | [EMAIL PROTECTED]
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
-------------------------------------------------------------------------

_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://ref.ntg.nl/mailman/listinfo/ntg-context

Reply via email to