On 3-10-2010 4:16, Pierre-François Bonnefoi wrote:
Dear Peter,
I run into some problem with font handling in MKIV so I'm stuck in MKII for some time.
I've tried the following : \starttext \def\ChapterPrefix#1{% \the\numexpr\number#1/4\relax } \setupcombinedlist[content][level=1] \setuplist[chapter][after=,before=,numbercolor=yellow,numbercommand=\underbar,pagecommand=\ChapterPrefix]
manipulating the number that way is just a lucky guess: pagecommand (and numbercommand) get some text passes and it might not even be a number, as it all depends on conversion and special rendering ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------