ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: ConTeXt mailing list <ntg-context@ntg.nl>
Subject: Re: different page numbers for doc parts
Date: Sun, 12 Sep 1999 01:13:32 +0200	[thread overview]
Message-ID: <37DAE21C.4FAED122@wxs.nl> (raw)
In-Reply-To: <vhoogfatdt1.fsf@jane.coe.uga.edu>

"Ed L. Cashin" wrote:

> I am having trouble figuring out how to switch pagenumbering in the
> middle of a document, e.g., having different styles of pagenumbering
> for frontmatter and bodymatter.

Ha, this is a bug, but only in english. Something I overlooked when I
started supporting multiple interfaces. You can add this to (if absent,
make it) cont-new.tex: 

\unprotect

\def\dostelpaginanummerin[#1]%
  {\getparameters
     [\??pn]
     [\c!status=\v!start,
      \c!nummer=,
      #1]%
   \doifsomething{\@@pnnummer}
     {\setnummer[\s!page]{\@@pnnummer}%
      \setuserpageno{\ruwenummer[\s!page]}}}

\protect

(Some day soon the whole low level of context will be english, already
runs experimentally.)

> I'd like to have lowercase roman numerals for the frontmatter page
> numbers, and then reset the page numbering to one, using arabic page
> numbers for the bodymatter.  I'm having trouble getting \page[1] or
> \setuppagenumber[number=1] to reset the page number to one also.

Berend is right: \setuppagenumbering[conversion=romannumerals]

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


  parent reply	other threads:[~1999-09-11 23:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-11  1:52 Ed L. Cashin
1999-09-11  6:43 ` Berend de Boer
1999-09-11 18:31   ` Ed L. Cashin
1999-09-11 19:02     ` Berend de Boer
1999-09-12  7:13       ` Ed L. Cashin
1999-09-12  8:25         ` Hans Hagen
1999-09-11 23:16   ` Hans Hagen
1999-09-11 23:13 ` Hans Hagen [this message]
1999-09-13  2:23   ` Ed L. Cashin
1999-09-13  7:38     ` Hans Hagen
1999-09-13 14:13       ` Ed L. Cashin

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=37DAE21C.4FAED122@wxs.nl \
    --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).