From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62063 Path: news.gmane.org!not-for-mail From: Andreas Harder Newsgroups: gmane.comp.tex.context Subject: Re: prevent page break after head Date: Wed, 29 Sep 2010 10:42:21 +0200 Message-ID: <5EB13A2F-AFC4-40CA-8B8F-CA5CAAAA94B0@uni-koblenz.de> References: <13D5729D-1F65-4976-AF03-AC06BCB4E17C@uni-koblenz.de> <3A893DF9-0269-410D-BE34-5E0BCC6C0E57@st.estfiles.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1285749779 22210 80.91.229.12 (29 Sep 2010 08:42:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 29 Sep 2010 08:42:59 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Sep 29 10:42:55 2010 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 1P0sFa-0000kB-UQ for gctc-ntg-context-518@m.gmane.org; Wed, 29 Sep 2010 10:42:55 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3638ACA6EF; Wed, 29 Sep 2010 10:42:54 +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 qsIHg17I9Rcw; Wed, 29 Sep 2010 10:42:39 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5AF76CA6D9; Wed, 29 Sep 2010 10:42:39 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5D96FCA6D9 for ; Wed, 29 Sep 2010 10:42: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 IgBKDhK7KcsP for ; Wed, 29 Sep 2010 10:42:24 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 149C6CA6D6 for ; Wed, 29 Sep 2010 10:42:24 +0200 (CEST) Original-Received: from deliver.uni-koblenz.de (deliver.uni-koblenz.de [141.26.64.15]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o8T8gN2G027447 for ; Wed, 29 Sep 2010 10:42:23 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 47EC9789A480 for ; Wed, 29 Sep 2010 10:42:23 +0200 (CEST) Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 15293-02 for ; Wed, 29 Sep 2010 10:42:22 +0200 (CEST) X-CHKRCPT: Envelopesender vrfy aharder@uni-koblenz.de Original-Received: from [192.168.1.112] (95-88-44-57-dynip.superkabel.de [95.88.44.57]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTP id 2EAB578983D2 for ; Wed, 29 Sep 2010 10:42:22 +0200 (CEST) In-Reply-To: <3A893DF9-0269-410D-BE34-5E0BCC6C0E57@st.estfiles.de> X-Mailer: Apple Mail (2.1081) X-Virus-Scanned: amavisd-new at uni-koblenz.de X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.26.64.15; country=DE; region=08; city=Koblenz; latitude=50.3500; longitude=7.6000; http://maps.google.com/maps?q=50.3500,7.6000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08DcwGnCG - ccd27eb522c1 - 20100929 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 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:62063 Archived-At: Am 29.09.2010 um 10:29 schrieb Steffen Wolfrum: > = > Am 29.09.2010 um 10:21 schrieb Andreas Harder: > = >> Hi all, >> = >> please have a look at the following example: >> = >> \starttext \showframe >> \section{test} >> \dorecurse{36}{test\par} >> \section{test} >> \startitemize >> \dorecurse{12}{\item #1} >> \stopitemize >> % \dorecurse{12}{=95 #1\blank} >> \stoptext >> = >> I would like to prevent the page break after the second section. It work= s okay if the head is followed by normal text. >> = >> Is there a key I have not found yet? I tried all kind of combinations = =85 > = > = > Just add a \testpage[4] before the second \section{test} Thank you! This works. So I will try \setuphead[section][before=3D{\testpag= e[4]\blank[2*big]}]. But I'm curious, why do it work with normal text? \starttext \showframe \section{test} \dorecurse{36}{test\par} \section{test} \dorecurse{12}{=95 #1\blank} \stoptext Andreas ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________