From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/34272 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Pagebreak only after stanzas Date: Sat, 14 Apr 2007 17:36:05 -0400 (EDT) Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1176586821 13192 80.91.229.12 (14 Apr 2007 21:40:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 14 Apr 2007 21:40:21 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Apr 14 23:40:12 2007 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 1Hcpyd-0006d4-C7 for gctc-ntg-context-518@m.gmane.org; Sat, 14 Apr 2007 23:40:11 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0F7A720070; Sat, 14 Apr 2007 23:40:11 +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 10519-02; Sat, 14 Apr 2007 23:40:10 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E3D9320096; Sat, 14 Apr 2007 23:36:08 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A9C3B20093 for ; Sat, 14 Apr 2007 23:36:05 +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 09837-03-22 for ; Sat, 14 Apr 2007 23:36:02 +0200 (CEST) Original-Received: from hellskitchen.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.82]) by ronja.ntg.nl (Postfix) with ESMTP id DCAE620096 for ; Sat, 14 Apr 2007 23:36:01 +0200 (CEST) Original-Received: FROM aditya.annarb01.mi.comcast.net (c-68-40-50-205.hsd1.mi.comcast.net [68.40.50.205]) BY hellskitchen.mr.itd.umich.edu ID 4621493F.E8448.23908 ; 14 Apr 2007 17:35:59 -0400 In-Reply-To: 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:34272 Archived-At: On Sat, 14 Apr 2007, Bert Tr=FCger wrote: > Hi, > > i am a fresh convert to Context from Latex and deeply impressed by > it's ability to set multiple pages on one page, even doublesided > ones. > For setting a collection of poems I use \obeylines and \smallskip > to arrange them on the page. Pagebreaks should only be possible > between stanzas at the \smallskip-mark. Could somebody tell me, how > to achieve this? Probably, the easiest way to do that will be to add a bit of a markup. = Something like (untested) \setuplines[after=3D{\blank[small]}] %or after=3D\smallskip \defineframedtext[stanza][width=3D\textwidth,before=3D\startlines,after=3D\= stoplines] \startstanza .... .... \stopstanza Since framedtext is a box, it will not break across pages. Aditya