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 ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________