* Roman numeral page numbers produced in MKII
@ 2011-03-11 0:38 Tom
0 siblings, 0 replies; only message in thread
From: Tom @ 2011-03-11 0:38 UTC (permalink / raw)
To: ntg-context
After posting the message about the following code not generating lower-case
Roman numeral page numbers, I tested the code with MKII and it works fine.
There must be a difference in how page number conversion is done between
MKII and MKIV.
\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
\setuppagenumbering
[state=start,
conversion=numbers, location=bottom]
\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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-03-11 0:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-11 0:38 Roman numeral page numbers produced in MKII Tom
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).