From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84293 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: bug? gap appears in columnset Date: Tue, 17 Sep 2013 22:02:54 +0200 Message-ID: <5238B56E.1030901@wxs.nl> 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"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1379448206 3825 80.91.229.3 (17 Sep 2013 20:03:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Sep 2013 20:03:26 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 17 22:03:31 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 1VM1Ug-0004Rx-QT for gctc-ntg-context-518@m.gmane.org; Tue, 17 Sep 2013 22:03:30 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 928B1101FC; Tue, 17 Sep 2013 22:01:35 +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 fpVQpQZNvXMD; Tue, 17 Sep 2013 22:01:33 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id C26CF101E6; Tue, 17 Sep 2013 22:01:33 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4F2E5101E6 for ; Tue, 17 Sep 2013 22:01:32 +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 uJwnFbsMf3ci for ; Tue, 17 Sep 2013 22:01:30 +0200 (CEST) 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 D8E5110193 for ; Tue, 17 Sep 2013 22:01:30 +0200 (CEST) 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 r8HK5iRX019263 for ; Tue, 17 Sep 2013 22:05:50 +0200 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 6107-1713362 for ; Tue, 17 Sep 2013 22:03:17 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 In-Reply-To: <5238A635.6040103@sil.org> 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: 04Kqk5Iyo - 57e3a659897c - 20130917 (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:84293 Archived-At: On 9/17/2013 8:57 PM, Lars Huttar wrote: > Can you point me to documentation on the constraints that define what > kind of interlinespace is sane? the default is 2.8ex which is pretty safe, then there is the ht/dp ratio which in some cases has to be adapted to fonts esp when they are non-typical > Also, given the goal that "For using ConTeXt, no TeX programming skills > and no technical background are needed. Some basic knowledge of > typography and document design will enable you to use the full power of > ConTeXt" (http://wiki.contextgarden.net/What_is_ConTeXt), does/could > ConTeXt issue an error when its assumptions are violated? well, adapting interlinespace is already beyond basic ... if you have specifications from someplace else they are supposed to be experts (ok, in many case we get weird specs too, but i always tend to ignore those) >> \setbox0\hbox{Tg}\the\htdp0,\the\baselineskip >> >> gives >> >> 10.59601pt,9.3pt >> >> so, any line that has a character with ascender and descender will >> enforce a larger than 9.3pt distance + lineskip and mess up any >> prediction cq. heuristics > > I can't find any reference defining \htdp0, but I'm guessing it means > the height+depth (where depth means how far descenders extend below the > baseline) of the "Tg" box. indeed, \htdp is a convenient macro, you could also add two dimensions or use a \dimexpr which is more work > I'm also confused as to why you're adding 9.3pt + lineskip, when in my > limited understanding of TeX, I understood lineskip to be *part* of the > distance between baselines, rather than an additional distance. But > maybe that's not important to the main issue. \starttext \showstruts \strut test \par \strut test \showstruts \strut \ruledhbox{$\sqrt{test}$} \par \strut test \stoptext \lineskip (1pt by default) kicks in when the line distance minus baselineskip exceeds \lineskiplimit (0pt by default) > I'm trying to formulate a rule for knowing whether "interlinespace is sane". > Is it that interlinespace needs to be more than or equal to the maximum > of (height + depth + lineskip) of any line in the text? \setbox0\hbox{()} \the\htdp0 is the minumum and you'd better add one point at least bodyfont/baseline : 10/12 12/14.4 etc are ok Hans ----------------------------------------------------------------- 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 ___________________________________________________________________________________