From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/25025 Path: news.gmane.org!not-for-mail From: =?ISO-8859-15?Q?Peter_M=FCnster?= Newsgroups: gmane.comp.tex.context Subject: Re: vertical stretch problem Date: Sun, 8 Jan 2006 20:12:36 +0100 (CET) Message-ID: References: <43C0EF7D.6050301@elvenkind.com> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1136747794 28211 80.91.229.2 (8 Jan 2006 19:16:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 8 Jan 2006 19:16:34 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Jan 08 20:16:32 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1Evg1k-00040a-T1 for gctc-ntg-context-518@m.gmane.org; Sun, 08 Jan 2006 20:16:28 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 83138127E8; Sun, 8 Jan 2006 20:16:27 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 16441-05; Sun, 8 Jan 2006 20:16:27 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8926E127A6; Sun, 8 Jan 2006 20:14:44 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E1968127A6 for ; Sun, 8 Jan 2006 20:14:42 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 16441-04 for ; Sun, 8 Jan 2006 20:14:41 +0100 (CET) Original-Received: from smtp1-g19.free.fr (smtp1-g19.free.fr [212.27.42.27]) by ronja.ntg.nl (Postfix) with SMTP id E6B79127A0 for ; Sun, 8 Jan 2006 20:14:39 +0100 (CET) Original-Received: from gaston.free.fr (c5850-a3-2-62-147-23-9.dial.proxad.net [62.147.23.9]) by smtp1-g19.free.fr (Postfix) with ESMTP id BF01D6E8ED for ; Sun, 8 Jan 2006 20:14:38 +0100 (CET) Original-Received: by gaston.free.fr (Postfix, from userid 500) id 87A9113C0FF; Sun, 8 Jan 2006 20:12:36 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by gaston.free.fr (Postfix) with ESMTP id 8399114816D for ; Sun, 8 Jan 2006 20:12:36 +0100 (CET) X-X-Sender: peter@gaston.free.fr Original-To: mailing list for ConTeXt users In-Reply-To: <43C0EF7D.6050301@elvenkind.com> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:25025 Archived-At: On Sun, 8 Jan 2006, Taco Hoekwater wrote: > You can fix the sections by > > \setupalign[line] > \setuphead[chapter][before={\hbox{}\blank[2*line]\vfill}] > \setuphead[section][before={\blank[2*line]\vfil}] > > But I wouldn't call that a true solution. Better (perhaps) is: > > \scratchskip 0pt plus 1 fill > \advance\topskip\scratchskip Thanks Taco! The normal setup for section header is before=\blank[2*big] and after=\blank I wonder, why "\blank" is stretching, but not \blank[2*big]... ? With LaTeX, I had really good experience: all vertical spaces stretch in the right proportions and a big float alone on a page gets centred. Now I would like to achieve the same with ConTeXt, but I'm frightened about spending days to find the right combination of \vfil, \vfill and \vfills around every head, formula, float, description, paragraph etc etc... Ok, if there is no easy way, I will try all "before=" and "after=" possibilities. Or should I better play with \topskip and other such skips (which ones?) ? Greetings, Peter -- http://pmrb.free.fr/contact/