ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: Fwd: Strange error...
Date: Thu, 07 Nov 2002 10:51:00 +0100	[thread overview]
Message-ID: <5.1.0.14.1.20021107103029.02d6edf0@server-1> (raw)
In-Reply-To: <20021106220953.76fd2784.morawski@gmx.net>

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
-------------------------------------------------------------------------

  parent reply	other threads:[~2002-11-07  9:51 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-02 20:33 Hans Hagen
2002-11-04  9:26 ` Jens-Uwe Morawski
2002-11-05  8:43   ` Hans Hagen
2002-11-05 17:47     ` Jens-Uwe Morawski
2002-11-06 10:11       ` Hans Hagen
2002-11-06 20:33         ` Willi Egger
2002-11-06 21:09         ` Jens-Uwe Morawski
2002-11-06 22:37           ` Jens-Uwe Morawski
2002-11-07  9:51           ` Hans Hagen [this message]
2002-11-07 20:09             ` Jens-Uwe Morawski
2002-11-07 21:28             ` Willi Egger
2002-11-08  8:27               ` Hans Hagen
2002-11-08 10:10                 ` Jens-Uwe Morawski
2002-11-08 16:09                   ` Hans Hagen
2002-11-11 14:17                 ` Rob van Swol

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5.1.0.14.1.20021107103029.02d6edf0@server-1 \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ref.ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).