From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83021 Path: news.gmane.org!not-for-mail From: Bill Meahan Newsgroups: gmane.comp.tex.context Subject: Re: orphans and widows in poems Date: Sun, 16 Jun 2013 20:36:51 -0400 Message-ID: <51BE5A23.1010809@meahan.net> References: <51BD6D5D.4060203@web.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1371429443 13347 80.91.229.3 (17 Jun 2013 00:37:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Jun 2013 00:37:23 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Jun 17 02:37:23 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UoNRj-0003Rd-3C for gctc-ntg-context-518@m.gmane.org; Mon, 17 Jun 2013 02:37:23 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 61667101EE; Mon, 17 Jun 2013 02:37:22 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 9Gjalt6bqltS; Mon, 17 Jun 2013 02:37:19 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id A842B101E6; Mon, 17 Jun 2013 02:37:19 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C0A68101E6 for ; Mon, 17 Jun 2013 02:37:17 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 90cpqpmX5YFT for ; Mon, 17 Jun 2013 02:37:15 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 70798101E0 for ; Mon, 17 Jun 2013 02:37:05 +0200 (CEST) Original-Received: from mail14c40.carrierzone.com (mail68c40.carrierzone.com [209.235.156.208]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r5H0awi0005618 for ; Mon, 17 Jun 2013 02:37:03 +0200 X-Authenticated-User: subscribed_lists.meahan.net Original-Received: from [192.168.1.102] (d27-96-221-12.nap.wideopenwest.com [96.27.12.221]) (authenticated bits=0) by mail14c40.carrierzone.com (8.13.6/8.13.1) with ESMTP id r5H0ariX001543 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Mon, 17 Jun 2013 00:36:55 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 In-Reply-To: <51BD6D5D.4060203@web.de> X-CSC: 0 X-CHA: v=2.0 cv=DemgXIRW c=1 sm=1 a=gQI4EhXLwm578WU9SoM/2Q==:17 a=opHwsCyINgsA:10 a=VhmJ6TRCyHcA:10 a=Olzf91-8vUEA:10 a=8nJEP1OIZ-IA:10 a=wBJZxVaMAAAA:8 a=pPWjx705dl4A:10 a=n6aLWPw29QPGBfJKDF0A:9 a=wPNLvfGTeEIA:10 a=gQI4EhXLwm578WU9SoM/2Q==:117 X-CTCH-RefID: str=0001.0A020208.51BE5A27.0082, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.235.156.208; country=US; region=FL; city=Fort Lauderdale; postalcode=33301; latitude=26.1209; longitude=-80.1273; metrocode=528; areacode=954; http://maps.google.com/maps?q=26.1209,-80.1273&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QJNcAWOI - 159a60d7905a - 20130617 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:83021 Archived-At: On 6/16/2013 3:46 AM, Pablo Rodr=EDguez wrote: > > > I'm afraid that I get widow lines in the lines environment. > > Is there no way to avoid orphans and widows in the lines environment? It's a bit ugly, but if the poem consists of individual stanzas, you can = put each stanza in an non-bordered frame. e.g.: % Set up the lines environment to put the contained lines in a frame so = they are kept together \setuplines[indenting=3D{yes,small,even}, <-- whatever options you w= ant before=3D{\startframedtext[frame=3Doff]}, after=3D\stopframedtext] % Then wrap your stanzas in individual line environments \startlines A maiden fair was seated there, Her hair of fine-spun gold. Azure eyes so clear and bright, So wondrous to behold. \stoplines A frame will never be split across pages. BTW this "trick"is on the wiki on the "Verse" page. -- = Bill Meahan Westland Michigan ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________