ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Tom" <Tom@tuxedo-press.com>
To: <ntg-context@ntg.nl>
Subject: Am not getting Roman numeral page numbers in MKIV
Date: Thu, 10 Mar 2011 16:37:28 -0500	[thread overview]
Message-ID: <00e601cbdf6b$5b02b570$11082050$@com> (raw)

The following code is intended to produce lower-case Roman numeral page
numbers for the first 3 pages before switching to Hindu-Arabic numerals
starting with the Introduction. However, I get Hindu-Arabic numerals instead
of the lower-case Roman numerals page numbers.

\definehead [intro][chapter]
\setuphead  [intro][number=no]

\setuppagenumbering
     [state=start, 
      conversion=romannumerals, location=bottom]

\startsectionblockenvironment[frontpart]

\definecombinedlist [content][intro,chapter,section]

\stopsectionblockenvironment

\startsectionblockenvironment[bodypart]

\stopsectionblockenvironment

\startsectionblockenvironment[backmatter]

\stopsectionblockenvironment

\starttext 
\setuppagenumber[state=start]

\startfrontmatter

%sample front matter
\input knuth

\completecontent[alternative=c,criterium=all]

\chapter{Preface}
\input knuth

\stopfrontmatter

\startbodymatter

\setuppagenumber[state=start,conversion=number,number=1]

\intro{Introduction}
\input knuth

\setupheadnumber[chapter][0] %resets first chapter number to 1

\chapter{I Was Born}
\input knuth

\chapter{I Observe}
\input knuth

\stopbodymatter

\startbackmatter

\stopbackmatter

\stoptext


Tom Benjey
717-258-9733 voice
717-243-0074 fax
blog: www.TomBenjey.com





___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


             reply	other threads:[~2011-03-10 21:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-10 21:37 Tom [this message]
2011-03-11  5:00 Jeong Dalyoung
2011-03-11 13:28 ` Wolfgang Schuster
2011-03-11 15:17   ` Tom
2011-03-11 17:06     ` Wolfgang Schuster
2011-03-11 18:04       ` Tom
2011-03-12  8:35 Jeong Dalyoung
2011-03-12 13:46 ` Tom
     [not found] <mailman.1380.1299938867.4223.ntg-context@ntg.nl>
2011-03-13 12:49 ` Jeong Dalyoung

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='00e601cbdf6b$5b02b570$11082050$@com' \
    --to=tom@tuxedo-press.com \
    --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).