![](https://secure.gravatar.com/avatar/e5aa6984b53b8925e405ebbdbc051ad9.jpg?s=120&d=mm&r=g)
19 Jul
2019
19 Jul
'19
5:24 a.m.
Zitat von Floris van Manen
Hello List,
What is the preferred way in context to prevent a page break happening between the heading(s) of a section and, for instance, the first 3 lines of the following paragraph?
\section(one) \subsection(one two} %--- no page break here One two three for ... One two three for ... One two three for ... %- from here page breaks allowed
You can use \testpage{#} to tell ConTeXt there should be at least # lines following; I often use this with \setuphead. Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net https://www.dreiviertelhaus.de GPG Key ID 1C9B22FD