From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84315 Path: news.gmane.org!not-for-mail From: Lars Huttar Newsgroups: gmane.comp.tex.context Subject: Re: bug? gap appears in columnset Date: Wed, 18 Sep 2013 17:47:40 -0400 Message-ID: <523A1F7C.8020002@sil.org> References: <52337079.6020509@sil.org> <5233739A.2010308@sil.org> <52374DF3.4040602@sil.org> <52377820.1000803@sil.org> <52386F02.3000307@sil.org> <5238A635.6040103@sil.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 1379540870 6344 80.91.229.3 (18 Sep 2013 21:47:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Sep 2013 21:47:50 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Sep 18 23:47:53 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 1VMPbE-0002NN-L0 for gctc-ntg-context-518@m.gmane.org; Wed, 18 Sep 2013 23:47:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 85826101F1; Wed, 18 Sep 2013 23:45:55 +0200 (CEST) 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 NC61SgjkJ7uq; Wed, 18 Sep 2013 23:45:52 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 76B3B101DE; Wed, 18 Sep 2013 23:45:52 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B0148101DE for ; Wed, 18 Sep 2013 23:45:51 +0200 (CEST) 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 L1GjVw08bwun for ; Wed, 18 Sep 2013 23:45:49 +0200 (CEST) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id C4A6E10193 for ; Wed, 18 Sep 2013 23:45:49 +0200 (CEST) Original-Received: from smtp2.wsfo.org (smtp2.wsfo.org [162.40.29.52]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r8ILlg3g015311 for ; Wed, 18 Sep 2013 23:47:44 +0200 Original-Received: from mail.link77.net (cgp1.mail.link77.net [172.22.65.13]) by smtp2.wsfo.org (8.14.4/8.14.4) with ESMTP id r8ILlfA7022311 for ; Wed, 18 Sep 2013 17:47:41 -0400 X-CGP-ClamAV-Result: CLEAN X-VirusScanner: Niversoft's CGPClamav Helper v1.15 (ClamAV engine v0.96.5) X-CGP-ClamAV-Result: CLEAN X-VirusScanner: Niversoft's CGPClamav Helper v1.15 (ClamAV engine v0.96.5) X-ExtScanner: Niversoft's Find_Attachments Original-Received: from [172.22.6.6] (account lars_huttar@sil.org [172.22.6.6] verified) by mail.jaars.org (CommuniGate Pro SMTP 6.0.5) with ESMTPSA id 349692660; Wed, 18 Sep 2013 17:47:41 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 In-Reply-To: <5238A635.6040103@sil.org> X-Enigmail-Version: 1.5.2 X-Scanned-By: CanIt (www . roaringpenguin . com) X-Scanned-By: MIMEDefang 2.73 on 172.22.65.24 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=162.40.29.52; country=US; region=NC; city=Waxhaw; postalcode=28173; latitude=34.9273; longitude=-80.7278; metrocode=517; areacode=704; http://maps.google.com/maps?q=34.9273,-80.7278&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07KqJLHKG - 3f1957a34a7f - 20130918 (trained as not-spam) 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:84315 Archived-At: Regarding "sane" interlinespace, Hans wrote, > ok, but then, an interlinespace is normally around 1.2 times the > bodyfontsize OK. That's helpful. But notice that in the following example, the interline space that causes the problem is in the *first* section (where htdp is 12pt and baselineskip is also 12pt!), while the gap shows up in the *second* section, whose interlinespace is 2.8ex: \def\printHtdp{\setbox0\hbox{()} \the\htdp0,\the\baselineskip} \definecolumnset[columnset1][n=2] \setupcolumnset[columnset1][distance=5mm,balance=yes] \starttext \section{Introduction} \setupinterlinespace[line=12pt] \startcolumnset[columnset1] \printHtdp \dorecurse {7} { \input knuth } \stopcolumnset \section{Bibliography} \tfxx \setupinterlinespace[line=2.8ex] %or use 11pt \startcolumnset[columnset1] \printHtdp \dorecurse {10} { \input knuth } \stopcolumnset \stoptext Since the problem can appear a ways after the cause, that makes it an especially hard problem to track down, especially for someone who is unaware of the nature of the problem. But even now that we're aware of what the problem (hopefully) is, we've not been able to fix it in our real-life document. We sprinkled in many places the code to show htdp and baselineskip (\printHtdp). E.g. in the early sections that would putatively cause the problem, our htdp/baselineskip in 8.60252pt,10.5pt. That's a ratio of more than 1.2. We have eliminated all the places we could find where the htdp/baselineskip ratio was less than 1.2, even where there was no text. But the gap persists. We have a large and complex document, so there might conceivably be places where a larger htdp than expected is hiding. Are there any tools for automatically going through a document and reporting places where not-sane interlinespace occurs? Thanks, Lars ___________________________________________________________________________________ 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 ___________________________________________________________________________________