ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: ToC - dots distance
Date: Wed, 23 Jan 2013 21:05:12 +0100	[thread overview]
Message-ID: <EC111AC5-5496-4B47-A672-2966C9D1F803@gmail.com> (raw)
In-Reply-To: <5100405B.7070503@gmail.com>


Am 23.01.2013 um 20:56 schrieb Devendra Ghate <devendra.ghate@gmail.com>:

> 
> On 01/24/2013 12:51 AM, Wolfgang Schuster wrote:
>> Am 23.01.2013 um 20:10 schrieb hanak@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.

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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2013-01-23 20:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-23 19:10 hanak
2013-01-23 19:21 ` Wolfgang Schuster
2013-01-23 19:56   ` Devendra Ghate
2013-01-23 20:05     ` Wolfgang Schuster [this message]
2013-01-23 20:09       ` Devendra Ghate
2013-01-23 22:11   ` Marco Patzer
2013-01-23 22:52     ` Wolfgang Schuster
2013-01-24  9:30       ` Marco Patzer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=EC111AC5-5496-4B47-A672-2966C9D1F803@gmail.com \
    --to=wolfgang.schuster@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).