On Wed, Aug 6, 2008 at 8:45 PM, Alan Stone
<[EMAIL PROTECTED]> wrote:
>>> The better way is to define you own list alternative.
>>>
>>> \define[3]\ChapterList
>>>  {\hbox
>>>     {\hbox to .5em{#1}\hskip.5em
>>>      \vtop{\hsize150pt\relax#2}%
>>>      \hfil#3}}
>>>
>>> \setuplist[chapter][alternative=command,command=\ChapterList]
>>
>> I'll try that...
>
> #1, #2, #3 being parameters which can be passed to \ChapterList, aka
> \ChapterList[#1,#2,#3]. Is that correct ?

Each lis entry has three argument:

#1: The section number
#2: The header text
#3: The page number

To define your own format for the list entry in the ToC you need a new
command with three argument like \def\MyCommand#1#2#3 and use it
in \setuplist with \setuplist[...][command=\MyCommand].

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

Reply via email to