From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/15248 Path: main.gmane.org!not-for-mail From: "Patrick Gundlach" Newsgroups: gmane.comp.tex.context Subject: Re: Grid, section, grid=top Date: 28 May 2004 10:44:57 +0200 Organization: chaos Sender: ntg-context-admin@ntg.nl Message-ID: References: <6.0.1.1.2.20040513223350.01d3fec0@server-1> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1085734021 6880 80.91.224.253 (28 May 2004 08:47:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 28 May 2004 08:47:01 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Fri May 28 10:46:52 2004 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BTd0u-0005UO-00 for ; Fri, 28 May 2004 10:46:52 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id E594A10B86; Fri, 28 May 2004 10:41:56 +0200 (MEST) Original-Received: from lilly.ping.de (lilly.ping.de [83.97.42.2]) by ref.ntg.nl (Postfix) with SMTP id 9AD6110B80 for ; Fri, 28 May 2004 10:39:16 +0200 (MEST) Original-Received: (qmail 8411 invoked from network); 28 May 2004 08:43:59 -0000 Original-Received: (ofmipd 83.97.40.3); 28 May 2004 08:43:37 -0000 Original-Received: from schnee.local (localhost [127.0.0.1]) by schnee.local (8.12.9/8.12.9) with ESMTP id i4S8iwaL004680 for ; Fri, 28 May 2004 10:44:58 +0200 (CEST) Original-Received: (from pg@localhost) by schnee.local (8.12.9/8.12.2/Submit) id i4S8iwH2004679; Fri, 28 May 2004 10:44:58 +0200 (CEST) Original-To: ntg-context@ntg.nl X-Authentication-Warning: schnee.local: pg set sender to patrick@gundla.ch using -f X-Lieblings-Musik: the_capricorns In-Reply-To: <6.0.1.1.2.20040513223350.01d3fec0@server-1> (Hans Hagen's message of "Thu, 13 May 2004 22:37:15 +0200") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (darwin) Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:15248 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:15248 Dear ConTeXt hackers, > did you look at the options described in details.pdf? maybe grid=page > will help; OK, yesterday I have played with my problem a bit and here is a testfile. I "need" grid=top for the extra distance between the previous paragraph and the sectionheading. So grid=page can only be an option if the section starts at the first line on a page. (Which indeed solves my problem; just saying \setuphead[somehead][grid=top] for the problematic section headings works fine, but this is ... well I guess I don't have to explain). > another option is to set the topskip to strutheight (something > \setupinterlinespace[top=.72]) Hmm, no effect I can see. I don't remember why I used the \definesection stuff. -------------------------------------------------- \showgrid \definesection [foo] \setupsection [foo] [previousnumber=no] \definehead [somehead] [section=foo] \setuphead [somehead] [grid=top] \setuplayout[width=fit, grid=yes, height=\dimexpr(21\lineheight+\footerheight+\headerheight), ] \starttext \dorecurse{4}{% \somehead{Dummy} \input tufte } \stoptext