ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* setupheadnumber and page number (wrong pagenumber)
@ 2000-03-04 16:38 Tobias Burnus
  2000-03-05 13:46 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Tobias Burnus @ 2000-03-04 16:38 UTC (permalink / raw)


Hi,

I use:
\setuppagenumbering[way=bychapter]

\chapter{foo} % #foo = 8
...
\setupheadnumber[+1]
\chapter{bar} % #bar = 10

I get as pagenumbers 8-1, 8-2, 8-3, 9-1, 10-1, 10-2, 10-3...
That is: I get 9-1 instead of 8-4.

Regards,

Tobias


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: setupheadnumber and page number (wrong pagenumber)
  2000-03-04 16:38 setupheadnumber and page number (wrong pagenumber) Tobias Burnus
@ 2000-03-05 13:46 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2000-03-05 13:46 UTC (permalink / raw)
  Cc: NTG-ConTeXt

At 05:38 PM 3/4/2000 +0100, Tobias Burnus wrote:

>I use:
>\setuppagenumbering[way=bychapter]
>
>\chapter{foo} % #foo = 8
>...
>\setupheadnumber[+1]
>\chapter{bar} % #bar = 10
>
>I get as pagenumbers 8-1, 8-2, 8-3, 9-1, 10-1, 10-2, 10-3...
>That is: I get 9-1 instead of 8-4.

\chapter goes to a new page, and when the page is flushed, the current
chapter number is taken into account, which is why you get the 9. Solution: 

\page \setupheadnumber[...] \chapter{...}

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl
-----------------------------------------------------------------


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-03-05 13:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-03-04 16:38 setupheadnumber and page number (wrong pagenumber) Tobias Burnus
2000-03-05 13:46 ` Hans Hagen

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