From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9756 Path: main.gmane.org!not-for-mail From: Jens-Uwe Morawski Newsgroups: gmane.comp.tex.context Subject: Re: Fwd: Strange error... Date: Thu, 7 Nov 2002 21:09:32 +0100 Sender: ntg-context-admin@ref.ntg.nl Message-ID: <20021107210932.3b5043ab.morawski@gmx.net> 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> <5.1.0.14.1.20021107103029.02d6edf0@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 Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1036701629 21157 80.91.224.249 (7 Nov 2002 20:40:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 7 Nov 2002 20:40:29 +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 189tRz-0005Uz-00 for ; Thu, 07 Nov 2002 21:40:27 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id DFBFA10B04; Thu, 7 Nov 2002 21:41:56 +0100 (MET) Original-Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by ref.ntg.nl (Postfix) with SMTP id C53E110AF5 for ; Thu, 7 Nov 2002 21:40:04 +0100 (MET) Original-Received: (qmail 14075 invoked by uid 0); 7 Nov 2002 20:40:03 -0000 Original-Received: from port1413.fra.ginko.net (HELO melior.localdomain) (212.202.67.143) by mail.gmx.net (mp009-rz3) with SMTP; 7 Nov 2002 20:40:03 -0000 Original-To: ntg-context@ref.ntg.nl In-Reply-To: <5.1.0.14.1.20021107103029.02d6edf0@server-1> X-Mailer: Sylpheed version 0.8.5 (GTK+ 1.2.10; i386-redhat-linux) 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:9756 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9756 On Thu, 07 Nov 2002 10:51:00 +0100 Hans Hagen wrote: > 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 many thanks, this helps Jens