Am 17.06.2013 um 02:36 schrieb Bill Meahan <subscribed_li...@meahan.net>:
> On 6/16/2013 3:46 AM, Pablo Rodríguez 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={yes,small,even}, <-- whatever options you want > before={\startframedtext[frame=off]}, > after=\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’t need any tricks to prevent page breaks in a lines environment because \setuplines[option=packed] already does it. Wolfgang ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________