![](https://secure.gravatar.com/avatar/5955e8e90611e77ccbfc7721b6112027.jpg?s=120&d=mm&r=g)
23 Apr
2015
23 Apr
'15
11:32 p.m.
On 04/23/2015 11:50 AM, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
Hello,
the following sample generates section title "5 Sec" as a last/solitary heading (section) on the page.
---- \starttext \dorecurse{5}{ \section{Sec} \subsection{Subsec} \input ward } \stoptext ----
Is there a way to bind it with the next head (subsection) - so that "5 Sec", "5.1 Subsec" (and at least one line of the following paragraph) would be together on one page?
Hi Lukáš, add the following to the document preamble: \setuphead[section][after={\blank[samepage,big]}] BTW, could you add this to http://wiki.contextgarden.net/Titles? Many thanks, Pablo -- http://www.ousia.tk