Thanks a lot, it works as required. I added a note to the wiki "Table_of_Contents" page. Just an unrelated question, Since MkIV is quite different and incompatible with MkII, wouldn't it be better to keep all MkIV specific information separate in the wiki?
Am 04.09.2009 um 11:03 schrieb Derek CORDEIRO:The new code is more complicated than i thought, here is solution to the problem.
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.
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]\stopstructureblockenvironment
\setupuserpagenumber[numberconversion=romannumerals]
\setuppagenumber[number=1]
\startstructureblockenvironment[bodypart]
\setuppagenumber[number=1]
\stopstructureblockenvironment
\starttext
\startfrontmatter
\completecontent[criterium=all]
\chapter{Intro}
\input tufte
\stopfrontmatter
\startbodymatter
\chapter{knuth}Wolfgang
\input knuth
\stopbodymatter
\stoptext
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________