[NTG-context] preventing page break in verses

Hans Hagen pragma at wxs.nl
Tue Jun 26 09:27:38 CEST 2007


Wolfgang Schuster wrote:
> 2007/6/26, Vyatcheslav Yatskovsky <yatskovsky at gmail.com>:
>> Hello,
>>
>> I have a simple question about verses. How can I prevent a verse to be breaked across pages?
>>
>> Now I use:
>>
>> \definestartstop[verse][before=\startlines,
>> after=\stoplines]
>>
>> --
>> Best,
>>  Vyatcheslav
> 
> \definestartstop
>   [verse]
>   [before=\vbox\bgroup\startlines,
>    %before={\page[preference]\vbox\bgroup\startlines},
>    after=\stoplines\egroup]

\testpage[4]


-----------------------------------------------------------------
                                           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
-----------------------------------------------------------------


More information about the ntg-context mailing list