[NTG-context] Preventing page break in a paragraph

Maurí­cio briqueabraque at yahoo.com
Tue Nov 27 17:52:19 CET 2007


 >>> How do I prevent a paragraph to be broken
 >>> between pages (or columns)?

 >> Add a \vbox{....} around the paragraph. (...)

 > a vbox messes up the spacing ...
 >
 > \starttext
 >
 > \input tufte \blank \input tufte \blank
 >
 > \setpenalties\widowpenalties{100}\maxdimen \dorecurse{3}{\input tufte}
 >
 > \blank \input tufte \blank \input tufte
 >
 > \stoptext
 >

Is it possible to do that with verbatim text? Like
\startC (a lot of text) \stopC?



More information about the ntg-context mailing list