[NTG-context] keeping headings with following texts

Pablo Rodríguez oinos at web.de
Sat Jul 13 16:08:14 CEST 2013

On 13/07/13 15:19, Wolfgang Schuster wrote:
> [...]
> Can you make a minimal tex document out of this. It would be also
> interesting to see your definition for the problematic heading which
> seems to use your own code.

Here you have it:

    \setmainfont[TeX Gyre Pagella]




    \subsection{Subsection Heading}

    line one\\
    line two%
    \footnote{This should be on the same page.}.

I need split set to verystrict in footnotes, otherwise footnotes can be
placed in the next page where their body text reference occurs (I have
never seen this on any printed book). This is exactly what happens when
\setupnote[footnote] is disabled.

But even removing the footnote itself and setting the recursion to 30
times, the subsection heading is also left alone on the first page.

What am I doing wrong here?


More information about the ntg-context mailing list