From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/58530 Path: news.gmane.org!not-for-mail From: Peter =?utf-8?Q?M=C3=BCnster?= Newsgroups: gmane.comp.tex.context Subject: Re: strange page break Date: Wed, 5 May 2010 16:38:08 +0200 Message-ID: <20100505143808.GA25000@gaston.couberia.bzh> References: <20100504053845.GA6251@gaston.couberia.bzh> <4BE1598C.1040207@elvenkind.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" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1273070309 19829 80.91.229.12 (5 May 2010 14:38:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 5 May 2010 14:38:29 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed May 05 16:38:27 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 1O9fk2-0005LE-Vv for gctc-ntg-context-518@m.gmane.org; Wed, 05 May 2010 16:38:27 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 02F39C9BC1; Wed, 5 May 2010 16:38:25 +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 gSab9UqEMSmD; Wed, 5 May 2010 16:38:23 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 63AE2C9B59; Wed, 5 May 2010 16:38:23 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 05263C9B59 for ; Wed, 5 May 2010 16:38:22 +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 KJkZzjFG0aGE for ; Wed, 5 May 2010 16:38:10 +0200 (CEST) Original-Received: from smtp2b.orange.fr (smtp2b.orange.fr [80.12.242.144]) by balder.ntg.nl (Postfix) with ESMTP id 9B254C9AF5 for ; Wed, 5 May 2010 16:38:10 +0200 (CEST) Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2b03.orange.fr (SMTP Server) with ESMTP id 3F20C7004E45 for ; Wed, 5 May 2010 16:38:10 +0200 (CEST) Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2b03.orange.fr (SMTP Server) with ESMTP id 322FB7004E4C for ; Wed, 5 May 2010 16:38:10 +0200 (CEST) Original-Received: from gaston.couberia.bzh (ARennes-551-1-126-243.w92-139.abo.wanadoo.fr [92.139.237.243]) by mwinf2b03.orange.fr (SMTP Server) with ESMTP id 098E67004E45 for ; Wed, 5 May 2010 16:38:10 +0200 (CEST) X-ME-UUID: 20100505143810392.098E67004E45@mwinf2b03.orange.fr Original-Received: by gaston.couberia.bzh (Postfix, from userid 1000) id 6CFA1301CD; Wed, 5 May 2010 16:38:09 +0200 (CEST) Mail-Followup-To: mailing list for ConTeXt users Content-Disposition: inline In-Reply-To: <4BE1598C.1040207@elvenkind.com> User-Agent: Mutt/1.5.17 (2007-11-01) 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:58530 Archived-At: On Wed, May 05 2010, Taco Hoekwater wrote: > Looks rather normal here, see attached (ver: 2010.05.02 16:43) A better page break would be after the last line of section 7: \def\mySection{\section{bla}\dorecurse{30}{text }} \starttext \dorecurse8{ \mySection\par bla \doif{\recurselevel}{7}{\page}} \stoptext This is just a minimal example. In my real life documents I have a lot of situations like this, and often it's not just one line that has to be moved to the previous page, but a lot more. So I have now a lot of "\page" commands in my documents... :( If needed, I'll try to make a better minimal example tomorrow. Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___________________________________________________________________________________ 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 ___________________________________________________________________________________