Re: [NTG-context] Roman Page numbers
On Sat, Sep 5, 2009 at 10:42 PM, Derek CORDEIRO
Thanks a lot, it works as required. I added a note to the wiki "Table_of_Contents" page.
On Fri, Sep 4, 2009 at 3:36 PM, Wolfgang Schuster < schuster.wolfgang@googlemail.com> wrote:
Am 04.09.2009 um 11:03 schrieb Derek CORDEIRO:
I do get romannumerals on each page now, but this is not reflected in
the
TOC as it does in MkII. Below is the minimal example.
The new code is more complicated than i thought, here is solution to the problem.
As Hans suggested we should collect such setups on the wiki.
\definestructureconversionset[frontpart:pagenumber][][romannumerals] \definestructureconversionset[bodypart:pagenumber] [][numbers]
\setuplist[chapter][pageconversionset=pagenumber]
\startstructureblockenvironment[frontpart]
\setupuserpagenumber[numberconversion=romannumerals] \setuppagenumber[number=1]
\stopstructureblockenvironment
\startstructureblockenvironment[bodypart]
\setuppagenumber[number=1]
\stopstructureblockenvironment
\starttext
\startfrontmatter
\completecontent[criterium=all]
\chapter{Intro}
\input tufte
\stopfrontmatter
\startbodymatter
\chapter{knuth}
\input knuth
\stopbodymatter
\stoptext
Wolfgang
This is odd. On my system (both MacTeX 2008 and ConTeXt minimals) this does not work properly. The Roman numbers appear in the TOC but not on the textpages themselves. Furthermore, after the frontmatter the page numbers should start again with 1 (at least that is what I think) but they just continue (i.c. with 3). The previous TeX-file, in ntg-context Digest, Vol 63, Issue 6, message 6, showed almost the reverse, i.e. Roman numbers on the pages but not in the TOC but the body matter starting correctly on page 1. So if the present setup works correctly for Derek, why would it be it different on my system and what can I do about it? Sorry for intruding but this topic is important for me. Regards, Robert Blackstone
Am 06.09.2009 um 10:31 schrieb Robert Blackstone:
This is odd. On my system (both MacTeX 2008 and ConTeXt minimals) this does not work properly.
The code is for MkIV only and the ConTeXt in TeXLive is too old for the new code.
The Roman numbers appear in the TOC but not on the textpages themselves. Furthermore, after the frontmatter the page numbers should start again with 1 (at least that is what I think) but they just continue (i.c. with 3).
What ConTeXt version do you use? $ context --version MTXrun | main context file: /Users/wolf/context/tex/texmf-context/tex/ context/base/context.tex MTXrun | current version: 2009.08.30 12:25 Wolfgang
participants (2)
-
Robert Blackstone
-
Wolfgang Schuster