From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/45311 Path: news.gmane.org!not-for-mail From: Marcin Borkowski Newsgroups: gmane.comp.tex.context Subject: Re: How to avoid a page break? Date: Wed, 5 Nov 2008 11:22:37 +0100 Message-ID: <20081105102237.GQ2264@atos.labs.wmid.amu.edu.pl> References: <20081104202128.GB2264@atos.labs.wmid.amu.edu.pl> <20081104213908.GE2264@atos.labs.wmid.amu.edu.pl> <6011F4E6-7CCD-48B1-BC6B-8084B8BAAD29@gmail.com> <20081105095724.GO2264@atos.labs.wmid.amu.edu.pl> <115224fb0811050213n3df7eb91o2499e0bb40d7f1f0@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1225880759 9565 80.91.229.12 (5 Nov 2008 10:25:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Nov 2008 10:25:59 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 05 11:27:01 2008 connect(): Connection refused Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1KxfbH-0003z6-V1 for gctc-ntg-context-518@m.gmane.org; Wed, 05 Nov 2008 11:27:00 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 286311FCBB; Wed, 5 Nov 2008 11:25:47 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 30382-03-2; Wed, 5 Nov 2008 11:24:41 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 649701FC3E; Wed, 5 Nov 2008 11:24:40 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9C37E1FC7B for ; Wed, 5 Nov 2008 11:24:33 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 30380-01 for ; Wed, 5 Nov 2008 11:23:24 +0100 (CET) Original-Received: from atos.wmid.amu.edu.pl (atos.wmid.amu.edu.pl [150.254.78.2]) by ronja.ntg.nl (Postfix) with ESMTP id 5D2311FC9B for ; Wed, 5 Nov 2008 11:22:38 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by atos.wmid.amu.edu.pl (Postfix) with ESMTP id 349AF1408DEC for ; Wed, 5 Nov 2008 11:22:38 +0100 (CET) X-Virus-Scanned: by amavisd-new (PLD-Linux) at wmid.amu.edu.pl Original-Received: from atos.wmid.amu.edu.pl ([127.0.0.1]) by localhost (atos.wmid.amu.edu.pl [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id RwqySBiAj8gm for ; Wed, 5 Nov 2008 11:22:38 +0100 (CET) Original-Received: by atos.wmid.amu.edu.pl (Postfix, from userid 3884) id F2B421083951; Wed, 5 Nov 2008 11:22:37 +0100 (CET) Content-Disposition: inline In-Reply-To: <115224fb0811050213n3df7eb91o2499e0bb40d7f1f0@mail.gmail.com> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:45311 Archived-At: Dnia Wed, Nov 05, 2008 at 11:13:47AM +0100, Wolfgang Schuster napisał(= a): > On Wed, Nov 5, 2008 at 10:57 AM, Marcin Borkowski > wrote: > > Dnia Tue, Nov 04, 2008 at 11:25:17PM +0100, Wolfgang Schuster napisa= 22;(a): > >> \def\doPutTitle#1% > >> {\framed[frame=3Doffwidth=3D\textwidth,align=3Dmiddle]{#1}% > >> \blank[nobreak,line]} > > > > And what to do if I want to use a similar to above command in > = > \def\doPutTitle#1#2% > {\framed[frame=3Doffwidth=3D\textwidth,align=3Dmiddle]{#1\space#1}} That I knew, sorry:(. > = > > \setuphead[chapter][command=3D\doPutTitle] > > > > to avoid a page break right after the title? > = > ConTeXt already tries to avoid page breaks after headers. OK. The problem was a bit different: I started the chapter with an itemize without [intro]. Now it works, thanks! > = > Wolfgang Greets -- = Marcin Borkowski (http://mbork.pl) Najkr=F3tszy dowcip matematyczny: Obierzmy epsilon ujemne. ___________________________________________________________________________= ________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________