From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86253 Path: news.gmane.org!not-for-mail From: "Jan Tosovsky" Newsgroups: gmane.comp.tex.context Subject: Re: Linespacing in TOC Date: Tue, 11 Feb 2014 17:32:13 +0100 Message-ID: <28313.7339669794$1392136356@news.gmane.org> References: <013a01cee579$6a0c5640$3e2502c0$@tosovsky@email.cz> <528BED98.2070505@wxs.nl> <011201cee7c3$b3b1dc60$1b159520$@tosovsky@email.cz> <528FD06E.4030608@wxs.nl> <013501cee7d8$1fefbb40$5fcf31c0$@tosovsky@email.cz> <001701cee83d$77460650$65d212f0$@tosovsky@email.cz> <529096AD.5050909@wxs.nl> <002101cee849$b1e90c60$15bb2520$@tosovsky@email.cz> <5290A56D.9010109@wxs.nl> <002601cee850$6c3196e0$4494c4a0$@tosovsky@email.cz> <5290AF33.2070905@wxs.nl> <52f9499c.826f0e0a.58db.ffffbb09SMTPIN_ADDED_BROKEN@mx.google.com> 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 1392136343 18247 80.91.229.3 (11 Feb 2014 16:32:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Feb 2014 16:32:23 +0000 (UTC) To: "'mailing list for ConTeXt users'" Original-X-From: ntg-context-bounces@ntg.nl Tue Feb 11 17:32:30 2014 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 1WDGG3-0005TV-Kl for gctc-ntg-context-518@m.gmane.org; Tue, 11 Feb 2014 17:32:27 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 228A2101F8; Tue, 11 Feb 2014 17:32:27 +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 h3zUAdX0fRYN; Tue, 11 Feb 2014 17:32:22 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 9A5AF101E3; Tue, 11 Feb 2014 17:32:22 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CB722101E3 for ; Tue, 11 Feb 2014 17:32: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 gBKK458bB6IY for ; Tue, 11 Feb 2014 17:32:20 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 11B57101E1 for ; Tue, 11 Feb 2014 17:32:14 +0100 (CET) Original-Received: from fep33.mx.upcmail.net (fep33.mx.upcmail.net [62.179.121.51]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s1BGWE0H020207 for ; Tue, 11 Feb 2014 17:32:14 +0100 Original-Received: from edge04.upcmail.net ([192.168.13.239]) by viefep33-int.chello.at (InterMail vM.8.01.05.05 201-2260-151-110-20120111) with ESMTP id <20140211163213.EBTI14656.viefep33-int.chello.at@edge04.upcmail.net> for ; Tue, 11 Feb 2014 17:32:13 +0100 Original-Received: from emk ([78.102.140.160]) by edge04.upcmail.net with edge id R4YD1n03M3Tq9wW034YDAT; Tue, 11 Feb 2014 17:32:13 +0100 X-SourceIP: 78.102.140.160 In-Reply-To: X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac8mrysGUPQXl2t2QUCObIJtOiAEiQAluEkQ Content-Language: cs X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=62.179.121.51; 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: 0QLp4weWJ - 1d056896be8b - 20140211 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:86253 Archived-At: On 2014-02-10 Wolfgang Schuster wrote: > = > Am 10.02.2014 um 22:49 schrieb Jan Tosovsky : > = > > I still prefer placing lines on the grid. But if the grid could be > switched > > off just for ToC, I could use the above code ensuring lines in the > 'grid' > > positions. It is fake, but I cannot manage even that > (startlinecorrection > > doesn't work here). > > > > Any idea? > = > When you have characters with big ascenders/descenders you have to > increase > the interlinespace or change the height/depth ration of a strut. > = > 1. Change the interlinespace value with > = > \setupinterlinespace[line=3D14pt] > = > 2. Change the height/depth ration with > = > \setupinterlinespace[height=3D0.8,depth=3D0.2] % default: > height=3D0.72,depth=3D0.28 Thanks, but neither solution works for me. My fundamental question is why ToC has different ToC line gaps than body text. I still think it is rather a bug which we are trying to work around all the time... Jan \setuplayout[grid=3Dyes] \showgrid \starttext \setupinterlinespace[height=3D0.8, depth=3D0.2] \placecontent % there are blank lines between ToC lines \chapter{aaaaaaaa} \input{tufte} % this is good \chapter{pppppppp} \chapter{=A9=A9=A9=A9=A9=A9=A9=A9} \stoptext ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________