From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/58549 Path: news.gmane.org!not-for-mail From: Otared Kavian Newsgroups: gmane.comp.tex.context Subject: Re: strange page break Date: Thu, 6 May 2010 11:33:06 +0200 Message-ID: <2D5D30A8-0591-418F-8CDD-CA2A3628C479@gmail.com> 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> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1273138411 22384 80.91.229.12 (6 May 2010 09:33:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 6 May 2010 09:33:31 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu May 06 11:33:29 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 1O9xSR-00063V-7h for gctc-ntg-context-518@m.gmane.org; Thu, 06 May 2010 11:33:27 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 16DE0C9C43; Thu, 6 May 2010 11:33:27 +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 R8RwmhsHOZVL; Thu, 6 May 2010 11:33:12 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DDA98C9C04; Thu, 6 May 2010 11:33:11 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 89811C9C04 for ; Thu, 6 May 2010 11:33:10 +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 6+9Nrp1vrNyY for ; Thu, 6 May 2010 11:33:08 +0200 (CEST) Original-Received: from mail-wy0-f169.google.com (mail-wy0-f169.google.com [74.125.82.169]) by balder.ntg.nl (Postfix) with ESMTP id 560F7C9BB5 for ; Thu, 6 May 2010 11:33:08 +0200 (CEST) Original-Received: by wyb33 with SMTP id 33so2083936wyb.14 for ; Thu, 06 May 2010 02:33:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=uTtzxSZE5gM84ioGroq7qxcrTtmoB3L9nmMOsZmn1W4=; b=CjSNFlqWerhhnVZEErMpTwjglZzPPo50Am+oC1IPm+2cD17WHe/QuhBRYT0iyVFMtn E8Ebry4IAg8MzQqTJ4Hj6MaShBJuCzdk7Kja5QNoUSaP7xFW5SPOn2xpKzFUqxU7tpau j13Kl9n8WOAmTzqtzNGFgCNg1QFhda/nS5UD0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=fvyCa46rw2EvGXOBQoisBNTy+Mf1V1k/omLZC8/jnWikmPB5AwjWM5mmtJo4etbNmW XcpgvwMRHDxcsmQMmlfaY9GpNh/Y8GTM/2xHHnlnYS5GLN0O7f+R+QahAaHrVYItOo0f 5gulP5ymYE9Sl2k/yqbkKeG9he0M6bse1Ku3o= Original-Received: by 10.227.144.146 with SMTP id z18mr4047887wbu.91.1273138388176; Thu, 06 May 2010 02:33:08 -0700 (PDT) Original-Received: from [192.168.0.12] (mna75-3-82-66-231-76.fbx.proxad.net [82.66.231.76]) by mx.google.com with ESMTPS id x34sm570883wbd.10.2010.05.06.02.33.07 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 06 May 2010 02:33:07 -0700 (PDT) In-Reply-To: <4BE28824.2080502@googlemail.com> X-Mailer: Apple Mail (2.1078) 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:58549 Archived-At: 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 wh= ich consists in adding a \medskip or \smallskip before every \section. Actu= ally analogous bad page breaks happen in Plain TeX with \beginsection. >> Regarding the minimal example you sent, adding >> \setuphead[section][before=3D\smallskip] >> to the top of your document, solves the problem appearing in the first s= ection. I don't know whether this solves all other strange page breaks or n= ot. > = > You should at least keep the original space before the \section. > = > \setuphead[section][before=3D{\allowbreak\blank[2*big]}] Hi Wolfgang, Yes, indeed you are right: my point was that adding something before the se= ction solves, sometimes such problems (I can't say why), but as you say one= must, or it is wiser to, keep the original space around the \section. > The problem is indeed that ConTeXt tries to keep the header and the mater= ial > before the header together and there is no real key to control this. What= you > can find in the core is this > = > % \chardef\somestructureheadbreakmethod\plusone % 0=3Dnothing, 1=3Dweigh= ted, 2=3Dstrict, 3=3Dvspacing > \chardef\somestructureheadbreakmethod\plusthree > = > but that's not what i consider to be available for the user. =85 well, at least not available for users such as me=85 But it is availabl= e for you :-) Best regards: OK ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________