7 Aug
2008
7 Aug
'08
9:48 a.m.
On Wed, Aug 6, 2008 at 8:45 PM, Alan Stone
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