From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/58553 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: strange page break Date: Thu, 06 May 2010 11:55:32 +0200 Message-ID: <4BE29214.1000509@wxs.nl> References: <20100504053845.GA6251@gaston.couberia.bzh> <4BE1598C.1040207@elvenkind.com> <20100505143808.GA25000@gaston.couberia.bzh> <4BE185B8.3080201@elvenkind.com> <20100505153331.GA25725@gaston.couberia.bzh> <4BE1926F.4080309@googlemail.com> <20100505162319.GA26000@gaston.couberia.bzh> <4BE1A01F.4030505@googlemail.com> <20100505172112.GA26198@gaston.couberia.bzh> <4BE1ACD0.2000407@googlemail.com> <20100506081316.GA30434@gaston.couberia.bzh> <4BE28824.2080502@googlemail.com> <2D5D30A8-0591-418F-8CDD-CA2A3628C479@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1273139740 27239 80.91.229.12 (6 May 2010 09:55:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 6 May 2010 09:55:40 +0000 (UTC) Cc: Otared Kavian To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu May 06 11:55:39 2010 connect(): No such file or directory Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O9xnu-0008Bs-MA for gctc-ntg-context-518@m.gmane.org; Thu, 06 May 2010 11:55:38 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 847C6C9C7F; Thu, 6 May 2010 11:55:38 +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 h5v4a1lcNFFY; Thu, 6 May 2010 11:55:36 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 217F4C9C67; Thu, 6 May 2010 11:55:36 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C461EC9C67 for ; Thu, 6 May 2010 11:55:34 +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 bjB6y8ZykSk5 for ; Thu, 6 May 2010 11:55:32 +0200 (CEST) Original-Received: from smtp.ziggozakelijk.nl (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by balder.ntg.nl (Postfix) with ESMTP id A737CC9C4A for ; Thu, 6 May 2010 11:55:32 +0200 (CEST) X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.100; Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by controller-9 (SurgeMail 4.3e) with ESMTP id 777-1713362 for multiple; Thu, 06 May 2010 11:55:09 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 In-Reply-To: <2D5D30A8-0591-418F-8CDD-CA2A3628C479@gmail.com> X-Authenticated-User: hagen@controller-9 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:58553 Archived-At: On 6-5-2010 11:33, Otared Kavian wrote: > > On 6 mai 2010, at 11:13, Wolfgang Schuster wrote: > >> Am 06.05.10 10:46, schrieb Otared Kavian: >>> Hi Peter, >>> >>> I had noticed such strange page breaks before and since it was always in small documents (maths problem sheets), I used an elementary workaround which consists in adding a \medskip or \smallskip before every \section. Actually analogous bad page breaks happen in Plain TeX with \beginsection. >>> Regarding the minimal example you sent, adding >>> \setuphead[section][before=\smallskip] >>> to the top of your document, solves the problem appearing in the first section. I don't know whether this solves all other strange page breaks or not. >> >> You should at least keep the original space before the \section. >> >> \setuphead[section][before={\allowbreak\blank[2*big]}] {\testpage[5]\blank[2*big]} this will make sure that at least there are 5 line equivalents of text. (I want to integrate that in the spacing code.) 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 ___________________________________________________________________________________