From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85344 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Linespacing in TOC Date: Wed, 20 Nov 2013 00:00:40 +0100 Message-ID: <528BED98.2070505@wxs.nl> References: <013a01cee579$6a0c5640$3e2502c0$@tosovsky@email.cz> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1384902043 11235 80.91.229.3 (19 Nov 2013 23:00:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 Nov 2013 23:00:43 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 20 00:00:49 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ViuHo-000782-RE for gctc-ntg-context-518@m.gmane.org; Wed, 20 Nov 2013 00:00:48 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1CDCF101DE; Wed, 20 Nov 2013 00:00:48 +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 aW0LJmrTplLB; Wed, 20 Nov 2013 00:00:46 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 53BE3101E9; Wed, 20 Nov 2013 00:00:46 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9AEFB101E9 for ; Wed, 20 Nov 2013 00:00:44 +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 3xSAi2Oy3Wk8 for ; Wed, 20 Nov 2013 00:00:43 +0100 (CET) Original-Received: from filter2-utr.mf.surf.net (filter2-utr.mf.surf.net [195.169.124.153]) by balder.ntg.nl (Postfix) with ESMTP id 87BA7101DE for ; Wed, 20 Nov 2013 00:00:43 +0100 (CET) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter2-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id rAJN5LgF000498 for ; Wed, 20 Nov 2013 00:05:21 +0100 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.104; Original-Received: from [10.100.1.104] (unverified [10.100.1.104]) by pragma-net.nl (SurgeMail 6.3c2) with ESMTP id 414-1713362 for ; Wed, 20 Nov 2013 00:00:41 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 In-Reply-To: <013a01cee579$6a0c5640$3e2502c0$@tosovsky@email.cz> X-Authenticated-User: hagen@controller-9 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.125.29.162; country=NL; region=15; city=Zwolle; latitude=52.5058; longitude=6.0858; http://maps.google.com/maps?q=52.5058,6.0858&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 04KPz5lbm - 0c41c3b71991 - 20131120 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 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:85344 Archived-At: On 11/19/2013 11:48 PM, Jan Tosovsky wrote: > Dear All, > > I'd like to tweak a default TOC linespacing... > > I've 'invented' this: > > \setupcombinedlist[content][list=chapter, alternative=c] > > \starttext > > \title{Table of Contents} > \setupinterlinespace[line=0.8ex] % too small, just for testing > \placecontent > \setupinterlinespace[line=2.75ex] > %\setupinterlinespace[reset] > > \startfrontmatter > \chapter{Intro}text > > text > > text > \startfrontmatter > \startbodymatter > \chapter{Chapter}text > \stopbodymatter > \startbackmatter > \chapter{Appendix}text > \stopbackmatter > \stoptext > > I cannot use simply the \completecontent command as the linespacing is > effective already between the title and the first entry line... so I am > splitting the title and the rest and set the linespacing just before list > rendering. Finally I am resetting the value manually. The 'reset' keyword > seems to be somehow ignored... > > Are there better ways to tweak linespacing in TOC ? \title{Table of Contents} \start \setupinterlinespace[line=0.8ex] % too small, just for testing \placecontent \stop ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________