ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: Context Mailinglist <ntg-context@ntg.nl>
Subject: Re: fix pages
Date: Fri, 11 May 2001 17:54:26 +0200	[thread overview]
Message-ID: <3.0.6.32.20010511175426.00b79100@server-1> (raw)
In-Reply-To: <3AFBF51C.3F524F9B@elektron.its.tudelft.nl>

At 04:20 PM 5/11/01 +0200, P. van Kranenburg wrote:
>Hello,
>
>Is it possible to fix a couple of pages (that are numbered
>separately) at a certain point, but in such a way that the
>original numbering and text continues after the inserted
>pages. Something like:  
>
>14 15 16 I II III IV V VI VII VIII 17 18 19
>or
>30 31 32 I II III IV V VI VII VIII 33 34 35
>  
>I'm typesetting a book with one gathering (8 pages) with
>colored illustrations. All the illustrations in the book
>are numbered consecutively (outside the color-gathering are
>black-and-white illustrations). So when I insert text and
>illustrations before the color-gathering the numbers of
>the color-illustrations should be different, but not the
>(real) pagenumbers!  
>
>Hope I'm clear enough (the english language is not my greatest skill) 

There are many ways to handle it, like this one: 

% output=pdftex

\starttext

\setupheadertexts[pagenumber]

test \page test \page test \page

\start
  \setuppagenumber[state=stop]
  \setupheadertexts[I]
  \startstandardmakeup[headerstate=start]  color \stopstandardmakeup
  \setupheadertexts[II]
  \startstandardmakeup[headerstate=start]  color \stopstandardmakeup
  \setupheadertexts[III]
  \startstandardmakeup[headerstate=start]  color \stopstandardmakeup
  \setupheadertexts[IV]
  \startstandardmakeup[headerstate=start]  color \stopstandardmakeup
  \setupheadertexts[V]
  \startstandardmakeup[headerstate=start]  color \stopstandardmakeup
  \setuppagenumber[state=start]
\stop

test \page test \page test

\stoptext

alternatively one can do things like: \setuppagenumber[number=-8], use
subpage numbers for counting the roman range, but this is probably overkill
for what you want. 

you may need to add doublesided=no to the settings of standard makeup. 

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


  reply	other threads:[~2001-05-11 15:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-11 14:20 P. van Kranenburg
2001-05-11 15:54 ` Hans Hagen [this message]
2001-05-11 18:07   ` P. van Kranenburg
2001-05-12  7:22     ` Berend de Boer
2001-05-12  8:49       ` P. van Kranenburg
2001-05-12 12:11         ` Berend de Boer
2001-05-13 13:29         ` Hans Hagen
2001-05-14 23:34           ` P. van Kranenburg

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=3.0.6.32.20010511175426.00b79100@server-1 \
    --to=pragma@wxs.nl \
    --cc=ntg-context@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).