From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/45306 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 10:57:24 +0100 Message-ID: <20081105095724.GO2264@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> 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: ger.gmane.org 1225879172 4273 80.91.229.12 (5 Nov 2008 09:59:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Nov 2008 09:59:32 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 05 11:00:34 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 1KxfBe-0004O1-UB for gctc-ntg-context-518@m.gmane.org; Wed, 05 Nov 2008 11:00:31 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CD53A1FBA8; Wed, 5 Nov 2008 10:59:20 +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 25761-01-3; Wed, 5 Nov 2008 10:58:05 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9A28D1FC82; Wed, 5 Nov 2008 10:58:05 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2ECE51FC82 for ; Wed, 5 Nov 2008 10:58:04 +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 24514-02-3 for ; Wed, 5 Nov 2008 10:57:25 +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 537501FC72 for ; Wed, 5 Nov 2008 10:57:25 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by atos.wmid.amu.edu.pl (Postfix) with ESMTP id 102411083953 for ; Wed, 5 Nov 2008 10:57:25 +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 wktg86UWiXOk for ; Wed, 5 Nov 2008 10:57:24 +0100 (CET) Original-Received: by atos.wmid.amu.edu.pl (Postfix, from userid 3884) id CFDA01083951; Wed, 5 Nov 2008 10:57:24 +0100 (CET) Content-Disposition: inline In-Reply-To: <6011F4E6-7CCD-48B1-BC6B-8084B8BAAD29@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:45306 Archived-At: Dnia Tue, Nov 04, 2008 at 11:25:17PM +0100, Wolfgang Schuster napisał(a): > \def\doPutTitle#1% > {\framed[frame=offwidth=\textwidth,align=middle]{#1}% > \blank[nobreak,line]} And what to do if I want to use a similar to above command in \setuphead[chapter][command=\doPutTitle] to avoid a page break right after the title? > > Wolfgang Greets -- Marcin Borkowski (http://mbork.pl) - Is it a Perl program or a Perl script? - Well, a script is what you give the actors. A program is what you give the audience. (Larry Wall) ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________