[NTG-context] orphan headline

Pablo Rodriguez oinos at gmx.es
Thu May 26 21:29:48 CEST 2016


On 05/26/2016 05:45 PM, Andrea Valle wrote:
> Thanks a lot Pablo,
> 
>> On 26 May 2016, at 17:40, Pablo Rodriguez wrote:
>>
>> On 05/26/2016 10:56 AM, Andrea Valle wrote:
>> you may replace \blank[1cm] with \blank[samepage,1cm].
>>
>> This should move the heading to the next page.
> 
> alas, it does not, seems ineffective

In a much simpler case, it seems to work:

    \setuphead[section]
    [style=\ss\tfa, after={\hrule\blank[samepage,big]}]
    %~ [style=\ss\tfa, after={\hrule\blank[big]}]

    \setuphead[subsection]
    [style=\ss, after={\hrule\blank[samepage,medium]}]
    %~ [style=\ss, after={\hrule\blank[medium]}]

    \starttext
    \dorecurse{10}{\section{Section}
    \input knuth
    \subsection{Subsection}
    \input zapf}
    \stoptext

Do you really need headings to be inside framed texts?


Pablo
-- 
http://www.ousia.tk


More information about the ntg-context mailing list