From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83023 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: orphans and widows in poems Date: Mon, 17 Jun 2013 07:39:04 +0200 Message-ID: <9844D4C6-F2DE-4237-903D-42C2C35E1033@gmail.com> References: <51BD6D5D.4060203@web.de> <51BE5A23.1010809@meahan.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1371447569 5133 80.91.229.3 (17 Jun 2013 05:39:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Jun 2013 05:39:29 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jun 17 07:39:31 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 1UoSA4-0007Th-AG for gctc-ntg-context-518@m.gmane.org; Mon, 17 Jun 2013 07:39:28 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 315EF101F0; Mon, 17 Jun 2013 07:39:27 +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 73Q0Ec5Ipdsw; Mon, 17 Jun 2013 07:39:25 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id D6650101E7; Mon, 17 Jun 2013 07:39:25 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C3CE6101E7 for ; Mon, 17 Jun 2013 07:39:24 +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 XVnrkF0rmg6T for ; Mon, 17 Jun 2013 07:39:23 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 94BB3101E6 for ; Mon, 17 Jun 2013 07:39:13 +0200 (CEST) Original-Received: from mail-ee0-x22e.google.com (mail-ee0-x22e.google.com [IPv6:2a00:1450:4013:c00::22e]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r5H5d6Z6021731 for ; Mon, 17 Jun 2013 07:39:07 +0200 Original-Received: by mail-ee0-f46.google.com with SMTP id d41so1509509eek.5 for ; Sun, 16 Jun 2013 22:39:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=PROeAQL3ahgFo0uIpupU8d/kQrE83bS5g9bbDxx6k6A=; b=M/A2SPJXAK0wQ7XcuikJe+HSj0UOIgi8YsO9feevBkWTqHCq/nTLIokrMogfoqQN7k P127UOWJtuYMI0w7Oui5IaROwZalczpRSiOoPl5BINKG5KavbLT9IEsHksWGEwE1PZhZ lgdxMuFFi51nxlTlAMh0WsZm3NTLt5V0ws71n5TC9HU+Csbac+S7gJ5GxlcyeW+7EFly 93vNpK3VDefGgjHcyTY3AHhK07w2gooim53MlTMDvr74h81mkdezIC9604Pj+HohbOpw QSUU5Pl+pj/S7/g8lf1Vwj3ayS5V75k7bAQ40HWln7ecwjkUW4M0pQNaxouGS0SudxE9 4zkw== X-Received: by 10.15.82.73 with SMTP id z49mr14094408eey.43.1371447546755; Sun, 16 Jun 2013 22:39:06 -0700 (PDT) Original-Received: from keima.localdomain (nrbg-4dbe5063.pool.mediaWays.net. [77.190.80.99]) by mx.google.com with ESMTPSA id o5sm2049849eef.5.2013.06.16.22.39.05 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 16 Jun 2013 22:39:06 -0700 (PDT) In-Reply-To: <51BE5A23.1010809@meahan.net> X-Mailer: Apple Mail (2.1508) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4013:c00::22e; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0RJNhD6ot - 56c63a7296bd - 20130617 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) 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:83023 Archived-At: Am 17.06.2013 um 02:36 schrieb Bill Meahan : > 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 t= hey are kept together > \setuplines[indenting=3D{yes,small,even}, <-- whatever options you= want > 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. You don=92t need any tricks to prevent page breaks in a lines environment b= ecause \setuplines[option=3Dpacked] already does it. Wolfgang ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________