From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9748 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Fwd: Strange error... Date: Thu, 07 Nov 2002 10:51:00 +0100 Sender: ntg-context-admin@ref.ntg.nl Message-ID: <5.1.0.14.1.20021107103029.02d6edf0@server-1> References: <5.1.0.14.1.20021106111016.0251b920@server-1> <5.1.0.14.1.20021105094122.03654ea8@server-1> <5.1.0.14.1.20021102213239.035c7ff8@remote-1> <5.1.0.14.1.20021102213239.035c7ff8@remote-1> <5.1.0.14.1.20021105094122.03654ea8@server-1> <5.1.0.14.1.20021106111016.0251b920@server-1> Reply-To: ntg-context@ref.ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1036667586 31533 80.91.224.249 (7 Nov 2002 11:13:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 7 Nov 2002 11:13:06 +0000 (UTC) Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 189kat-0008CP-00 for ; Thu, 07 Nov 2002 12:13:03 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 7103010B31; Thu, 7 Nov 2002 12:14:33 +0100 (MET) Original-Received: from mail.solcon.nl (mail.solcon.nl [212.45.33.11]) by ref.ntg.nl (Postfix) with ESMTP id AACD010B2C for ; Thu, 7 Nov 2002 12:12:59 +0100 (MET) Original-Received: from server-1.pragma-ade.nl (wc-58016.solcon.nl [212.45.58.16]) by mail.solcon.nl (8.12.5/pre1.0-MySQL/8.12.5) with ESMTP id gA7CAgiS003323 for ; Thu, 7 Nov 2002 13:10:43 +0100 Original-Received: from LAPTOP-3.wxs.nl (laptop-3 [10.100.1.191]) by server-1.pragma-ade.nl (8.12.2/8.12.2) with ESMTP id gA7BCtgk022622 for ; Thu, 7 Nov 2002 12:12:56 +0100 X-Sender: hagen-mail@server-1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Original-To: ntg-context@ref.vet.uu.nl In-Reply-To: <20021106220953.76fd2784.morawski@gmx.net> X-RAVMilter-Version: 8.4.1(snapshot 20020919) (mail.solcon.nl) Errors-To: ntg-context-admin@ref.ntg.nl X-BeenThere: ntg-context@ref.ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:9748 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9748 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 -------------------------------------------------------------------------