From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/41058 Path: news.gmane.org!not-for-mail From: Daniel Pittman Newsgroups: gmane.comp.tex.context Subject: Keeping a block of text together, without breaking footnotes, etc. Date: Fri, 16 May 2008 15:14:16 +1000 Organization: Cybersource: Australia's Leading Linux and Open Source Solutions Company Message-ID: <87wsluj0ev.fsf@rimspace.net> 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 1210914977 17798 80.91.229.12 (16 May 2008 05:16:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 May 2008 05:16:17 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri May 16 07:16:52 2008 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 1JwsJI-0006U1-Hu for gctc-ntg-context-518@m.gmane.org; Fri, 16 May 2008 07:16:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 547C21FBB8; Fri, 16 May 2008 07:15:58 +0200 (CEST) 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 15378-02-2; Fri, 16 May 2008 07:15:13 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 21F7A1FB95; Fri, 16 May 2008 07:15:13 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id ED7F01FBA8 for ; Fri, 16 May 2008 07:15:09 +0200 (CEST) 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 15382-01-2 for ; Fri, 16 May 2008 07:14:26 +0200 (CEST) Original-Received: from isinu.rimspace.net (ppp59-167-189-244.static.internode.on.net [59.167.189.244]) by ronja.ntg.nl (Postfix) with ESMTP id 189391FB7F for ; Fri, 16 May 2008 07:14:24 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by isinu.rimspace.net (Postfix) with ESMTP id 3AE866036CC1 for ; Fri, 16 May 2008 15:14:22 +1000 (EST) X-Virus-Scanned: amavisd-new at Original-Received: from isinu.rimspace.net ([127.0.0.1]) by localhost (isinu.rimspace.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BFamWXN89fWn for ; Fri, 16 May 2008 15:14:17 +1000 (EST) Original-Received: from krosp (krosp.local [172.16.23.233]) by isinu.rimspace.net (Postfix) with ESMTP id 3D0F06036CC0 for ; Fri, 16 May 2008 15:14:17 +1000 (EST) Original-Received: by krosp (Postfix, from userid 1000) id 59EF2706CF67; Fri, 16 May 2008 15:14:16 +1000 (EST) User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/23.0.60 (gnu/linux) 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:41058 Archived-At: G'day. As part of a document I am laying out I have a number of blocks of text that I want to keep together on a single page -- either all before a page break or all after it. I can achieve this using a \vbox, but that has the fairly undesirable property of also preventing footnotes and, presumably, other ConTeXt layout from working as expected. What is the most effective way to achieve this? A good example of what I want follows; in this I want the entire contact form there kept as a single block, not split over pages. The same sort of situation comes up with some explanatory paragraphs and a yes/no question section of the form. \starttext \dorecurse{10} {\bf Contact Details} \starttabulate[|l|p|] \NC Name: \NC \thinrule \NC \AR \NC Address: \NC \thinrules[n=3] \NC \AR \NC Postcode: \NC \thinrule \NC \AR \NC Email: \NC \thinrule \NC \AR \NC Alternate Email: \NC \thinrule \NC \AR \NC Phone (BH): \NC \thinrule \NC \AR \NC Phone (AH): \NC \thinrule \NC \AR \NC Mobile: \NC \thinrule \NC \AR \stoptabulate \starttabulate[|p|l|] \NC Can this contact authorise work? \NC YES / NO \NC \AR \NC Can this contact authorise changes to this agreement? \NC YES / NO \NC \AR \NC Can we contact this person in an emergency? \NC YES / NO \NC \AR \stoptabulate \par} \stoptext I would rather have under-full pages than split the blocks of text -- and I definitely want to preserve the ability to insert footnotes into the running text, to clarify some of the terms or options. Regards, Daniel ___________________________________________________________________________________ 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 ___________________________________________________________________________________