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
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to