From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85341 Path: news.gmane.org!not-for-mail From: "Jan Tosovsky" Newsgroups: gmane.comp.tex.context Subject: Linespacing in TOC Date: Tue, 19 Nov 2013 23:48:06 +0100 Message-ID: <20735.813296824$1384901303@news.gmane.org> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1384901293 1030 80.91.229.3 (19 Nov 2013 22:48:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 Nov 2013 22:48:13 +0000 (UTC) To: "'mailing list for ConTeXt users'" Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 19 23:48:19 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 1Viu5j-00017D-2m for gctc-ntg-context-518@m.gmane.org; Tue, 19 Nov 2013 23:48:19 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0434C101F8; Tue, 19 Nov 2013 23:48:18 +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 0AKtfF7KRUZy; Tue, 19 Nov 2013 23:48:16 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 56A2F101E9; Tue, 19 Nov 2013 23:48:16 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 64CD8101E9 for ; Tue, 19 Nov 2013 23:48:14 +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 Ugh9gdOHZFSw for ; Tue, 19 Nov 2013 23:48:13 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 85AC6101DE for ; Tue, 19 Nov 2013 23:48:13 +0100 (CET) Original-Received: from fep21.mx.upcmail.net (fep21.mx.upcmail.net [62.179.121.41]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id rAJMtWJM028687 for ; Tue, 19 Nov 2013 23:55:34 +0100 Original-Received: from edge04.upcmail.net ([192.168.13.239]) by viefep21-int.chello.at (InterMail vM.8.01.05.13 201-2260-151-135-20130320) with ESMTP id <20131119224810.DEO17748.viefep21-int.chello.at@edge04.upcmail.net> for ; Tue, 19 Nov 2013 23:48:10 +0100 Original-Received: from emk ([78.102.140.5]) by edge04.upcmail.net with edge id rao51m00N07AxbA03ao5Vy; Tue, 19 Nov 2013 23:48:05 +0100 X-SourceIP: 78.102.140.5 X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac7leV20FTRnXASESiK6diHJOQsMvg== Content-Language: cs X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=62.179.121.41; country=AT; latitude=47.3333; longitude=13.3333; http://maps.google.com/maps?q=47.3333,13.3333&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01KPyTwwE - 101a4fb30abc - 20131119 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 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:85341 Archived-At: 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 ? Thanks, Jan ___________________________________________________________________________________ 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 ___________________________________________________________________________________