ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: ecashin@coe.uga.edu (Ed L. Cashin)
Cc: ConTeXt mailing list <ntg-context@ntg.nl>
Subject: Re: different page numbers for doc parts
Date: 12 Sep 1999 22:23:36 -0400	[thread overview]
Message-ID: <m3aeqra6s7.fsf@kali.coe.uga.edu> (raw)
In-Reply-To: <37DAE21C.4FAED122@wxs.nl>

Hans Hagen <pragma@wxs.nl> writes:

> 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

Hmm.  I cut and pasted the above code into the existing cont-new.tex
and tried the same code:

    \starttext

    \startfrontmatter

    \setupnumbering[conversion=romannumerals]
    \setuppagenumber[number=1]
    hi.  i am in the front.

    \startbodymatter

    \setupnumbering[conversion=numbers]
    \setuppagenumber[number=1]
    hi.  i am from the body.

    \stoptext

... but the resulting document still has consecutive arabic numerals 1
and 2 at the top of the two pages.  cont-new.tex is getting loaded,
though. 

-- 
--Ed Cashin							
  ecashin@coe.uga.edu


  reply	other threads:[~1999-09-13  2:23 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
1999-09-13  2:23   ` Ed L. Cashin [this message]
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=m3aeqra6s7.fsf@kali.coe.uga.edu \
    --to=ecashin@coe.uga.edu \
    --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).