24 Apr
2015
24 Apr
'15
5:32 a.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