Aditya Mahajan wrote:
On Sat, 14 Apr 2007, Bert Tr�ger 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={\blank[small]}] %or after=\smallskip \defineframedtext[stanza][width=\textwidth,before=\startlines,after=\stoplines]
\startstanza ..... ..... \stopstanza
\start \interlinepenalty\plustenthousand stanze \par \stop \keeplinestogether{4} stanza may also work (untested) ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------