On Sat, Sep 5, 2009 at 10:42 PM, Derek CORDEIRO <derekcordeiro@gmail.com> wrote


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