In MKIV, I am still unable to get lower-case Roman numeral page numbers on
the front matter pages, but if I use frontpart in the \defineconversionset
instead of frontmatter, the page numbers in the ToC are converted. Where is
a good explanation of the structureblockenvironment?

\definestructureconversionset[frontpart:pagenumber][][romannumerals]
%pagenumbers in TOC not converted if frontmatter

\definestructureconversionset[bodymatter:pagenumber] [][numbers]
\setuplist[chapter][pageconversionset=pagenumber]

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


\startstructureblockenvironment[frontmatter] 
%whether frontpart or frontmatter seems to make no difference

\setuppagenumbering
     [conversion=romannumerals, location=bottom]
\setuppagenumber[number=1]

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

\stopstructureblockenvironment

\startstructureblockenvironment[bodymatter]

\setuppagenumbering
     [conversion=numbers, location=bottom]
\setuppagenumber[number=1]

\stopstructureblockenvironment

\startstructureblockenvironment[backmatter]

\stopstructureblockenvironment

\starttext 

\startfrontmatter % errors on startfrontpart

%sample front matter
\input knuth

\completecontent[alternative=c,criterium=all]

\chapter{Preface}
\input knuth

\stopfrontmatter

\startbodymatter


\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




-----Original Message-----
From: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] On
Behalf Of Wolfgang Schuster
Sent: Friday, March 11, 2011 8:29 AM
To: mailing list for ConTeXt users
Subject: Re: [NTG-context] Am not getting Roman numeral page numbers in MKIV


Am 11.03.2011 um 06:00 schrieb Jeong Dalyoung:

> Also I use \startstructureblockenvironment[backpart] instead of
\startsectionblockenvironment[backmatter].

You can use both but we should mention in manuals, the wiki etc. only the
second.

Wolfgang

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

___________________________________________________________________________________
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 via email to