[NTG-context] Empty heads after leading whitespace

Maggyero maggyero at gmail.com
Wed Apr 30 18:09:14 CEST 2014


Hello,


Here after is my problem:


\setuphead[section][%
    placehead=empty,
    before=,
    after=]
\setuphead[subsection][%
    placehead=yes,
    before={\blank[line]},
    after={\blank[line]}]
\setupheadertexts[section]

\starttext
\showframe
\section{My section}
\subsection{My subsection (whitespace before: )} % Here is my problem.
\page
\subsection{My subsection (NO whitespace before)}
\stoptext


The mechanism that automatically removes the leading whitespace at the top
of a page doesn't work if there is an EMPTY head followed by another head
(of a different level). How can I remove that whitespace?


Best regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20140430/0b320e18/attachment.html>


More information about the ntg-context mailing list