From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/45321 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: How to avoid a page break? Date: Wed, 5 Nov 2008 13:25:18 +0100 Message-ID: <115224fb0811050425n17f19314g5e7a3bc584de65e9@mail.gmail.com> References: <20081104202128.GB2264@atos.labs.wmid.amu.edu.pl> <20081105105002.GR2264@atos.labs.wmid.amu.edu.pl> <115224fb0811050312o25dd1fd0n505d8b1cc346b9f5@mail.gmail.com> <20081105121323.GS2264@atos.labs.wmid.amu.edu.pl> 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 1225888293 1503 80.91.229.12 (5 Nov 2008 12:31:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Nov 2008 12:31:33 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 05 13:32:36 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 1KxhYn-0002J9-BP for gctc-ntg-context-518@m.gmane.org; Wed, 05 Nov 2008 13:32:33 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 150341FC36; Wed, 5 Nov 2008 13:31:24 +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 17628-03-9; Wed, 5 Nov 2008 13:30:16 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D90871FB1F; Wed, 5 Nov 2008 13:30:15 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A998B1FADC for ; Wed, 5 Nov 2008 13:30:14 +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 19189-06 for ; Wed, 5 Nov 2008 13:29:41 +0100 (CET) Original-Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.190]) by ronja.ntg.nl (Postfix) with ESMTP id 519661FCCA for ; Wed, 5 Nov 2008 13:25:19 +0100 (CET) Original-Received: by mu-out-0910.google.com with SMTP id w9so3776038mue.4 for ; Wed, 05 Nov 2008 04:25:19 -0800 (PST) Original-Received: by 10.103.168.5 with SMTP id v5mr328365muo.77.1225887918959; Wed, 05 Nov 2008 04:25:18 -0800 (PST) Original-Received: by 10.103.22.8 with HTTP; Wed, 5 Nov 2008 04:25:18 -0800 (PST) In-Reply-To: <20081105121323.GS2264@atos.labs.wmid.amu.edu.pl> Content-Disposition: inline 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:45321 Archived-At: On Wed, Nov 5, 2008 at 1:13 PM, Marcin Borkowski wrote: > Dnia Wed, Nov 05, 2008 at 12:12:40PM +0100, Wolfgang Schuster napisał(a): >> On Wed, Nov 5, 2008 at 11:50 AM, Marcin Borkowski >> wrote: >> > Hi, >> > >> > one more problem with pagebreaks: I'd like to prohibit a pagebreak >> > before a \startformula ... \stopformula. What do I do? >> >> \defineblankmethod [nobreak] {\nobreak} >> >> \setupformulas[spacebefore=nobreak] >> >> Not sure if this did work, try it or send a test file. > > Wow, it does! However, it also tries to squeeze too much stuff > (vertically) to avoid the break. I guess that this is one of these > things one has to tweak manually anyway. > > What would probably help (since I have lots of \items and lots of math - > it's a number of problem sets in analysis;) - btw, available at > http://mbork.pl/?action=browse;id=Mathematical_Analysis_for_Computer_Science_2) > would be an automatic \page[bigpreference] before each \item. Is that > possible? \setupitemize[inbetween=\allowbreak\blank] or \setupitemize[inbetween=\goodbreak\blank] or ... 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 ___________________________________________________________________________________