From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/45280 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: How to avoid a page break? Date: Tue, 4 Nov 2008 22:17:51 +0100 Message-ID: References: <20081104202128.GB2264@atos.labs.wmid.amu.edu.pl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1225833612 18571 80.91.229.12 (4 Nov 2008 21:20:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Nov 2008 21:20:12 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 04 22:21:14 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 1KxTKr-0004ib-GZ for gctc-ntg-context-518@m.gmane.org; Tue, 04 Nov 2008 22:21:13 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7FBA31FB71; Tue, 4 Nov 2008 22:20: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 29448-01-3; Tue, 4 Nov 2008 22:18:47 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 36E0E1FB77; Tue, 4 Nov 2008 22:18:47 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 11D291FADB for ; Tue, 4 Nov 2008 22:18:46 +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 29448-01-2 for ; Tue, 4 Nov 2008 22:18:08 +0100 (CET) Original-Received: from ey-out-1920.google.com (ey-out-1920.google.com [74.125.78.147]) by ronja.ntg.nl (Postfix) with ESMTP id B3A841FB77 for ; Tue, 4 Nov 2008 22:18:08 +0100 (CET) Original-Received: by ey-out-1920.google.com with SMTP id 21so193843eyc.38 for ; Tue, 04 Nov 2008 13:18:08 -0800 (PST) Original-Received: by 10.86.95.8 with SMTP id s8mr176839fgb.28.1225833488496; Tue, 04 Nov 2008 13:18:08 -0800 (PST) Original-Received: from ?10.40.62.21? (8.121.113.82.net.de.o2.com [82.113.121.8]) by mx.google.com with ESMTPS id 4sm10711169fge.8.2008.11.04.13.18.04 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 04 Nov 2008 13:18:07 -0800 (PST) In-Reply-To: <20081104202128.GB2264@atos.labs.wmid.amu.edu.pl> X-Mailer: Apple Mail (2.929.2) 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:45280 Archived-At: Am 04.11.2008 um 21:21 schrieb Marcin Borkowski: > Hi, > > I have the following in my code: > > \def\doPutTitle#1{% > \startalignment[middle] > \bfb > \page[bigpreference] > \blank[2*big] > #1% > \page[no]% > \blank[big]% > \page[no]% > \stopalignment > \page[no]% > }% > > Why is it still possible that I have a page break after, say, > \doPutTitle{some title} (in MkII, in MkIV page breaks fall in > different > places). Which percentage signs and \page[no]'s are unnecessary here? \def\doPutTitle#1% {\page[bigpreference] \vbox\bgroup \raggedcenter #1% \egroup \nobreak\blank[big]} > Also, how to avoid a page break right before an itemization? Adding > [intro] seems not to work. Example! > And one more thing about pagebreaks: how to avoid a pagebreak right > before a \startformula ... \stopformula? And what is the ConTeXt > way of > setting stretchable vertical glue (e.g. for \blank's, below > itemizations > etc.)? \blank[ small | medium | big | ... ] Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________