From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85384 Path: news.gmane.org!not-for-mail From: "Jan Tosovsky" Newsgroups: gmane.comp.tex.context Subject: Re: Linespacing in TOC Date: Fri, 22 Nov 2013 21:44:55 +0100 Message-ID: <23238.7026343078$1385153106@news.gmane.org> References: <013a01cee579$6a0c5640$3e2502c0$@tosovsky@email.cz> <528BED98.2070505@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1385153095 12814 80.91.229.3 (22 Nov 2013 20:44:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Nov 2013 20:44:55 +0000 (UTC) To: "'mailing list for ConTeXt users'" Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 22 21:45:02 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 1Vjxb3-0006Xr-L1 for gctc-ntg-context-518@m.gmane.org; Fri, 22 Nov 2013 21:45:01 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BA62F101FE; Fri, 22 Nov 2013 21:45:00 +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 e5Rr9kxuqRAJ; Fri, 22 Nov 2013 21:44:58 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 34646101F5; Fri, 22 Nov 2013 21:44:58 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A3217101F5 for ; Fri, 22 Nov 2013 21:44:56 +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 5b-QX34246CL for ; Fri, 22 Nov 2013 21:44:55 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 63CEB101F1 for ; Fri, 22 Nov 2013 21:44:55 +0100 (CET) Original-Received: from fep20.mx.upcmail.net (fep20.mx.upcmail.net [62.179.121.40]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id rAMKirkh002099 for ; Fri, 22 Nov 2013 21:44:54 +0100 Original-Received: from edge03.upcmail.net ([192.168.13.238]) by viefep20-int.chello.at (InterMail vM.8.01.05.13 201-2260-151-135-20130320) with ESMTP id <20131122204453.NNGD24076.viefep20-int.chello.at@edge03.upcmail.net> for ; Fri, 22 Nov 2013 21:44:53 +0100 Original-Received: from emk ([78.102.141.153]) by edge03.upcmail.net with edge id skkt1m00F3Jmlmu03kktoP; Fri, 22 Nov 2013 21:44:53 +0100 X-SourceIP: 78.102.141.153 In-Reply-To: <528BED98.2070505@wxs.nl> X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac7lezTOwLER5U15ToCX39qSRkQ0CACRniiQ Content-Language: cs X-Bayes-Prob: 0.0014 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=62.179.121.40; 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: 0TKQIISPc - bd8956435229 - 20131122 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:85384 Archived-At: On 2013-11-20 Hans Hagen wrote: > On 11/19/2013 11:48 PM, Jan Tosovsky wrote: > > > > I'd like to tweak a default TOC linespacing... > > > > I've 'invented' this: > > > > \setupcombinedlist[content][list=3Dchapter, alternative=3Dc] > > > > \starttext > > > > \title{Table of Contents} > > \setupinterlinespace[line=3D0.8ex] % too small, just for testing > > \placecontent > > \setupinterlinespace[line=3D2.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. > > > > Are there better ways to tweak linespacing in TOC ? > = > \title{Table of Contents} > = > \start > \setupinterlinespace[line=3D0.8ex] % too small, just for testing > \placecontent > \stop Thanks for the hint. = But as I found, any value below 2.8ex causes interline inconsistencies when special cases appears, see the extreme below: \starttext \start \setupinterlinespace[line=3D1.0ex] \placecontent \stop \chapter{aaaaaaaa}. % line without descenders precedes a line without ascenders \chapter{pppppppp}. % line with descenders is followed with a line with ascenders \chapter{=A9=A9=A9=A9=A9=A9=A9=A9}. % the result is an inconsistent baselin= e distance \stoptext Is there any remedy for this? Can I fix the baseline distance somehow? I have such cases in my TOC :-( = (but not so extreme as here) Thanks, Jan ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________