# Re: [NTG-context] [NTG-Context] How to compute correct page number for handout

So, I've to forget it...
I'm a little bit disappointed that it's not possible.

But the waiting time for my students to get the lecture notes is over : I'll
give them the handout with no page numbers.

I hope that I could use MKIV in near future,
kind regards,
Pierre-François.

Le 3 oct. 2010 à 17:12, Hans Hagen a écrit :

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

--
Bonnefoi Pierre-Francois                |    E-mail : bonne...@unilim.fr
Universite de Limoges, Laboratoire XLIM |       Tel : 06 28 18 03 38
83, rue d'Isle                          |  Mrs. Peel, we're needed...
87000 Limoges - FRANCE                  |                 The Avengers.

___________________________________________________________________________________