From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/80429 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: ToC - dots distance Date: Wed, 23 Jan 2013 23:52:23 +0100 Message-ID: <9B3CCD47-9361-4383-887B-3EDE6923042B@gmail.com> References: <8338xrr9zy.fsf@alfik.habrovka.xx> <8AFADAFB-4E69-4AB1-8BDC-2FE0C75C998B@gmail.com> <20130123221103.GN15403@homerow> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1358981548 22091 80.91.229.3 (23 Jan 2013 22:52:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Jan 2013 22:52:28 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jan 23 23:52:47 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ty9BS-0000ZE-6c for gctc-ntg-context-518@m.gmane.org; Wed, 23 Jan 2013 23:52:42 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B0E9410214; Wed, 23 Jan 2013 23:52:24 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Ye2f7v7x5hZF; Wed, 23 Jan 2013 23:52:23 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id F34F4101FD; Wed, 23 Jan 2013 23:52:22 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A3FF2101FD for ; Wed, 23 Jan 2013 23:52:21 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id TprEkLHOHiHJ for ; Wed, 23 Jan 2013 23:52:20 +0100 (CET) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id C6B80101FC for ; Wed, 23 Jan 2013 23:52:20 +0100 (CET) Original-Received: from mail-ee0-f53.google.com (mail-ee0-f53.google.com [74.125.83.53]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r0NMqIEN009376 for ; Wed, 23 Jan 2013 23:52:18 +0100 Original-Received: by mail-ee0-f53.google.com with SMTP id e53so4400720eek.40 for ; Wed, 23 Jan 2013 14:52:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=/qgwQaTwRwHkUqx+rUVlUoF039J36VxPg/43gLfpGUQ=; b=XiYfZAzw5LNFr7ycirDytj+okVUmeFXwkdV3UfrebhxvjOpl9wi4zZGDEE+UtAPCnW keZAu/GPEyfLcGX5IZnfiSeHwmUVyViT5kE6hsTAFeP2+pLRnG3IArRFixM11ZwNU3Tp ZeNNuYZrCtqY2D5rCVR8gEhtTO9U8PajZqN4fGttqVC+2LcFg8vhYuKU6JGLjYBHHVJr AHmSrig5u9zNY377VMv0HRfOn7YHbThUB0bzaloCGpHGmPhRttlyH96Ggm7mfw+gb3mz ehyRgyLU9VS1+C4adigRsEOA2W2cHo1E48krojQf/AkW4mCKk0/1q8Z89AQov3uvI9gE 5+GA== X-Received: by 10.14.205.198 with SMTP id j46mr8657196eeo.27.1358981538342; Wed, 23 Jan 2013 14:52:18 -0800 (PST) Original-Received: from keima.localdomain (nrbg-4dbf0734.pool.mediaWays.net. [77.191.7.52]) by mx.google.com with ESMTPS id z8sm32682416eeo.11.2013.01.23.14.52.17 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 23 Jan 2013 14:52:17 -0800 (PST) In-Reply-To: <20130123221103.GN15403@homerow> X-Mailer: Apple Mail (2.1499) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.83.53; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03IPyQirS - fdf197e4968b - 20130123 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:80429 Archived-At: Am 23.01.2013 um 23:11 schrieb Marco Patzer : > On 2013=9601=9623 Wolfgang Schuster wrote: > = > Out of curiosity: Is possible to set up the new filler mechanism in > a way to yield alternating dots like in the TeXbook? > = >>> default look: >>> = >>> 1. First chapter ................... 1 >>> 2. Second chapter ................... 10 = >>> = >>> requested look: >>> = >>> 1. First chapter . . . . . . . . . . 1 >>> 2. Second chapter . . . . . . . . . . 10 > = > alternating look (Knuths' TeXbook style) > = > 1. First chapter . . . . . . . . . . . 1 > 2. Second chapter . . . . . . . . . . 10 \definefiller[pavel-0][alterntive=3Dsymbol,method=3Dglobal,width=3D1em,left= margin=3D.5em,rightmargin=3D.5em,symbol=3D\clap{.}] \definefiller[pavel-1][pavel-0][align=3Dleft] \definefiller[pavel-2][pavel-0][align=3Dmiddle] \newconditional\PavelState \define\PavelFiller {\ifconditional\PavelState \global\setfalse\PavelState \filler[pavel-1]% \else \global\settrue\PavelState \filler[pavel-2]% \fi} % \define\PavelFiller % {\ifodd\structurelistlocation % does the value alternate? % \filler[pavel-1]% % \else % \filler[pavel-2]% % \fi} \setuplistalternative[c][filler=3D\PavelFiller] \starttext \completecontent[alternative=3Dc] \dorecurse{10}{\expanded{\chapter{Chapter \recurselevel}}} \stoptext Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________