From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/23426 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: The whole (sub)section on a single page Date: Sun, 13 Nov 2005 00:55:26 +0100 Message-ID: <6faad9f00511121555x5ff6084dn26e714128030392e@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1131839738 29987 80.91.229.2 (12 Nov 2005 23:55:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 12 Nov 2005 23:55:38 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Nov 13 00:55:37 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1Eb5Dc-00006z-67 for gctc-ntg-context-518@m.gmane.org; Sun, 13 Nov 2005 00:55:36 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id ED70A127A5; Sun, 13 Nov 2005 00:55:34 +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 19701-02; Sun, 13 Nov 2005 00:55:30 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 07D851279A; Sun, 13 Nov 2005 00:55:30 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 18CD41279A for ; Sun, 13 Nov 2005 00:55:28 +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 19717-01 for ; Sun, 13 Nov 2005 00:55:27 +0100 (CET) Original-Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.195]) by ronja.ntg.nl (Postfix) with ESMTP id 373F112796 for ; Sun, 13 Nov 2005 00:55:27 +0100 (CET) Original-Received: by nproxy.gmail.com with SMTP id a25so189693nfc for ; Sat, 12 Nov 2005 15:55:26 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Z9yoTHwcVk9pHjtTeMLzvMUfFPziqyz9Kv7I7k7alM27qn8T1IkkGCP3jVdkdxdLZG4iNNBz4QFKQO/H/04Ai8+mq835mwqJXZpMK2Fjp0eq404jKNBYqD8mNzWXXPyDs170A0nSqpBbUnJ4e3kJlgZm+lwRo/EebTXgPrknZ70= Original-Received: by 10.48.255.18 with SMTP id c18mr169437nfi; Sat, 12 Nov 2005 15:55:26 -0800 (PST) Original-Received: by 10.48.3.15 with HTTP; Sat, 12 Nov 2005 15:55:26 -0800 (PST) Original-To: mailing list for ConTeXt users Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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:23426 Archived-At: Hello, I would like to have the whole (sub)section on a single page unless it doesn't fit on one page (in this case I don't mind if it starts on a new page or simply continues on the old one, but it should break somewhere, that's why putting the content into a \vbox doesn't solve the problem). This is perhaps already described somewhere in the documentation, but I don't know where to look for it (well, I could start reading the source code for split=3Dyes; perhaps \vsplit could help, but don't know how exactly to apply it). I can solve the problem temporary by manually placing page breaks, but I guess that there exists some really short, simple & elegant solutions for it. It doesn't need to automatically determine the subsection boundaries automatically (although this would be great), so I can write something like this: \startmaterialforonepage \subsection{split only if too long for one page} \dorecurse{10}{whatever comes here \dots } \stopmaterialforonepage Thank you, Mojca