From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/19443 Path: news.gmane.org!not-for-mail From: Vit Zyka Newsgroups: gmane.comp.tex.context Subject: Re: widow and orphan control Date: Wed, 30 Mar 2005 11:53:49 +0200 Message-ID: <424A772D.9060803@seznam.cz> References: <20050329030458.GA4547@localhost.localdomain> <20050329232437.GA30038@localhost.localdomain> <424A4CEB.9030005@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1112176581 28958 80.91.229.2 (30 Mar 2005 09:56:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 30 Mar 2005 09:56:21 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Mar 30 11:56:19 2005 Return-path: 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 1DGZuz-00044n-FE for gctc-ntg-context-518@m.gmane.org; Wed, 30 Mar 2005 11:55:21 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3517612871; Wed, 30 Mar 2005 11:56:22 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 16082-02; Wed, 30 Mar 2005 11:56:22 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 515B01285E; Wed, 30 Mar 2005 11:52:53 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7B9E21285E for ; Wed, 30 Mar 2005 11:52:51 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15769-06 for ; Wed, 30 Mar 2005 11:52:50 +0200 (CEST) Original-Received: from smtp.seznam.cz (smtp.seznam.cz [212.80.76.43]) by ronja.ntg.nl (Postfix) with SMTP id 9CF5112855 for ; Wed, 30 Mar 2005 11:52:50 +0200 (CEST) Original-Received: (qmail 14730 invoked from network); 30 Mar 2005 09:52:49 -0000 Original-Received: from unknown (HELO ?127.0.0.1?) (vit.zyka@62.240.166.134) by smtp.seznam.cz with SMTP; 30 Mar 2005 09:52:49 -0000 User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <424A4CEB.9030005@wxs.nl> X-Antivirus: avast! (VPS 0512-2, 26.03.2005), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: by 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: by amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:19443 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:19443 >>Hans Hagen wrote (8:53): >> Paul Tremblay wrote: >>> What I would need is some type of macro that can determine how much >>> space is left on the page. If the space is less than some small, >>> pretermined amount (say, 24 points, for example), then put the title on >>> the next page, or put in a \blank[24pt, flexible] >>> >>> I know nothing about writing macros, or if this is possible. >> >> \testpage[24pt] Vit Zyka wrote (11:35): >\penalty50 >\vskip3\baselineskip plus1fil >\nobreak >\vskip-3\baselineskip plus-1fil > >It is useful before section title etc. I believe it is implemented to >ConTeXt, but I do not know the interface. Whawgh! Hans had answered the question before I sent it. Sorry, my homing pigeon was too lazy... Although Hasselt-to-Prague way in 2.5 hrs it is not so bad :) vit