[NTG-context] How to use \setuplist for formatting a chapter entry?

Rob Heusdens robheus at xs4all.nl
Fri Feb 6 10:44:26 CET 2015


>
>> Am 04.02.2015 um 15:33 schrieb Rob Heusdens <robheus at xs4all.nl>:
>>
>>
>>> You have to write a working minimal example for further help.
>>>
>>> Wolfgang
>>>
>>
>> So this is the example:
>>
>> […]
>
> You can remove the following lines:
>
>> \definefiller[ChapterFiller]
>>
>> \define[1]\ChapterNumberToc%
>> 	 {Hoofdstuk #1 -- }
>>
>> \define[3]\ChapterToc%
>> 	{\vbox{\bf Hoofdstuk #1 -- #2 \filler[ChapterFiller] #3}}
>>
>> \define[1]\AppendixToc%
>> 	{Bijlage -- #1}
>>
>> \define[1]\BackToc%
>>    {Noten -- #1}
>>
>> […]
>
> and replace these list setups
>
>> \setuplist[chapter][headnumber=yes,style=bold,width=17ex,numbercommand=\ChapterNumberToc]
>> %\setuplist[chapter][headnumber=yes,style=bold,alternative=command,command=\ChapterToc]
>> \setuplist[appendix][headnumber=no,style=bold,textcommand=\AppendixToc]
>> \setuplist[back][headnumber=no,style=bold,textcommand=\BackToc]
>
> with the following definitions:
>
> \setuplist [chapter]
> [width=fit,style=bold,numbercommand=\groupedcommand{Hoofdstuk }{ – }]
> \setuplist [appendix] [style=bold,textcommand=\groupedcommand{Bijlage –
> }{}]
> \setuplist [back]     [style=bold,textcommand=\groupedcommand{Noten –
> }{}]
>
> Wolfgang
>

This works!


Thank you Wolfgang.

I finally completed my document now!

Rob



More information about the ntg-context mailing list