From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/88448 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Distances between chapter and section titles and text Date: Mon, 18 Aug 2014 09:57:33 +0200 Message-ID: References: <7F6511B4-2381-4EE5-90AA-EC276E4451C0@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1408348682 11711 80.91.229.3 (18 Aug 2014 07:58:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Aug 2014 07:58:02 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Aug 18 09:57:54 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 1XJHpA-0004sG-Jo for gctc-ntg-context-518@m.gmane.org; Mon, 18 Aug 2014 09:57:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4C0DA102A1 for ; Mon, 18 Aug 2014 09:57:50 +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 0qtp4nsvbSze for ; Mon, 18 Aug 2014 09:57:50 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 292F710222 for ; Mon, 18 Aug 2014 09:57:43 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B7D36101E6 for ; Mon, 18 Aug 2014 09:57:39 +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 znVjQX8GWwjq for ; Mon, 18 Aug 2014 09:57:37 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 266ED101E3 for ; Mon, 18 Aug 2014 09:57:37 +0200 (CEST) Original-Received: from mail-wi0-x234.google.com (mail-wi0-x234.google.com [IPv6:2a00:1450:400c:c05::234]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s7I7uQDw011416 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Mon, 18 Aug 2014 09:56:27 +0200 Original-Received: by mail-wi0-f180.google.com with SMTP id n3so3219498wiv.1 for ; Mon, 18 Aug 2014 00:57:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=fsthlgrkmkVm7ALHk7HTKXtQ3zOg60KLkUP/1guc08Y=; b=xrL4ZyUaenNx1cYdacpKBhb4xBBmOoxVpC1MZss0Bq2W9n4MsfjtFoJXyrcE1/2Kr5 AzXaLZkuwR3kqFY/u1uKWn9zo4GgFj4jNMeEOPrCa5MPXkkdPOzAPLPuV8+PzNrT78Os 2lFNqOHAPVuoSVzcT02TuhHSFDqwdxTVryBsR0NpUmBegfOTNybkJEps6VrDFamQ6V8U KGzP0goevr3PCt18EkEvUQoiAa6JmS6gqPSY86hgk5FwwrW8REWi5jt/v9arcz2wBEGJ ZwKd++Ceau4573jk2lfmNL10F66n2K0DsFyS4xHrRw6r36aB4pVZU4uZbx0J8AYbmB4m 0dCA== X-Received: by 10.194.172.137 with SMTP id bc9mr41004224wjc.72.1408348655795; Mon, 18 Aug 2014 00:57:35 -0700 (PDT) Original-Received: from keima.localdomain (x2f21f13.dyn.telefonica.de. [2.242.31.19]) by mx.google.com with ESMTPSA id t6sm35402095wib.4.2014.08.18.00.57.34 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 18 Aug 2014 00:57:35 -0700 (PDT) In-Reply-To: <7F6511B4-2381-4EE5-90AA-EC276E4451C0@gmail.com> X-Mailer: Apple Mail (2.1878.6) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c05::234; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WME7Urx7 - 92a1dd0975a4 - 20140818 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) 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:88448 Archived-At: Am 18.08.2014 um 09:29 schrieb Robert Blackstone : > = > On 17 aug. 2014, at 20:06, wrot > = >> On 2014-08-15, 19:56, Robert Blackstone wrote: >> = >>> A few days ago I posted this question. There were no reactions, but >>> it is not an urgent matter for me anymore since I found an effective >>> work-around. (Although I still wonder whether or not this possibility >>> exists in mkiv,) >> = >> I have not seen the issue you have described myself. The attached >> example works for me. You have to prepare a minimal working example >> that shows the problem. Maybe then somebody can identify the reason >> for your issue. >> = >> ******************************************** > Hello Joshua, > Thanks for your reaction. > The minimal example you gave works here as well, but it does not really c= oncern the problem I had. > = > When you add a section right at the beginning of the chapter, as is the c= ase for nearly all of the chapters of my project, things become different. > Here is your ME with sections added: > = > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D > \starttext > = > %\startfrontmatter > %\input knuth > %\stopfrontmatter > = > \startbodymatter > = > \setuphead [chapter] [ > number=3Dyes, > alternative=3Dmiddle, > style=3D\tfa \bf, > after=3D{\blank[0.5cm]}, > ] > = > \chapter{One} > \section{One a} > \input knuth > = > \setuphead [chapter] [ > number=3Dyes, > alternative=3Dmiddle, > style=3D\tfa \bf, > after=3D{\blank[0.1cm]}, > ] > = > \chapter{Two} > = > \section{Two a} > \input knuth > = > \stopbodymatter > = > \stoptext > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D > Despite different setups for the chapter head the distances: chapter head= - section head - beginning of the text, are identical in both chapters (= =B11 pixel). > But I have realized now, a bit late, that for real control over these dis= tances one also needs to setup the section-head in a similar manner, additi= onally specifying the distance "before". > The presence or absence of Frontmatter does not influence results. > I think there must have been a setup command somewhere in my setups that = I had forgotten about. You=92re forgetting that \section insert also a space before the text is pl= aced. In a case where two commands insert a space at the same position like= here the larger value is used which comes in the second chapter from the \= section command. Wolfgang ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________