[NTG-context] ToC - dots distance

Devendra Ghate devendra.ghate at gmail.com
Wed Jan 23 21:09:40 CET 2013


On 01/24/2013 01:35 AM, Wolfgang Schuster wrote:
> Am 23.01.2013 um 20:56 schrieb Devendra Ghate <devendra.ghate at gmail.com>:
>
>> On 01/24/2013 12:51 AM, Wolfgang Schuster wrote:
>>> Am 23.01.2013 um 20:10 schrieb hanak at wpb.cz:
>>>
>>>> Hi,
>>>>
>>>> I need to change the default distance of dots in ToC using alternative
>>>> "c". Could anybody tell me, how can I achieve this? So it should look
>>>> like this:
>>>>
>>>>
>>>> default look:
>>>>
>>>> 1. First chapter  ...................   1
>>>> 2. Second chapter ...................  10
>>>>
>>>> requested look:
>>>>
>>>> 1. First chapter  . . . . . . . . . .   1
>>>> 2. Second chapter . . . . . . . . . .  10
>>> \definefiller
>>>    [pavel]
>>>    [alterntive=symbol,
>>>    %method=global,
>>>     width=1em,
>>>     leftmargin=.5em,
>>>     rightmargin=.5em]
>>>
>>> \setuplistalternative[c][filler={\filler[pavel]}]
>>>
>>> \starttext
>>>
>>> \completecontent[alternative=c]
>>>
>>> \chapter{First chapter}
>>> \chapter{Second chapter}
>>>
>>> \stoptext
>>>
>>> Wolfgang
>>> ___________
>> Is that a complete MWE?
> Yes.
>
>> It doesn't work on ConTeXt  ver: 2013.01.10 01:04 MKIV.
> You need a newer version, the command is new and provides a high level interface for the \leaders macro.
This is some serious pace of development. I had just about installed 
context
couple of weeks ago and already I need an update.

Thank you.
Devendra


> Wolfgang
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________



More information about the ntg-context mailing list