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 20:21:26 +0100	[thread overview]
Message-ID: <8AFADAFB-4E69-4AB1-8BDC-2FE0C75C998B@gmail.com> (raw)
In-Reply-To: <8338xrr9zy.fsf@alfik.habrovka.xx>


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
___________________________________________________________________________________
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 19:21 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 [this message]
2013-01-23 19:56   ` Devendra Ghate
2013-01-23 20:05     ` Wolfgang Schuster
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=8AFADAFB-4E69-4AB1-8BDC-2FE0C75C998B@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).