[NTG-context] Empty heads after leading whitespace

Maggyero maggyero at gmail.com
Mon May 5 04:19:31 CEST 2014


For those who are interested, I've finally solved my problem (the vertical
space before a subsection which was not automatically swallowed at the top
of a page when the page started with an empty section) by using the pair
'after={\vskip 0em\blank[disable]}' for sections:


\setuphead
  [section]
  [placehead=empty,
   page=yes,
   after={\vskip 0em\blank[disable]}]

\setuphead
  [subsection]
  [placehead=yes,
   before={\blank[line]},
   after={\blank[line]}]

\setupheadertexts[section]

\showframe

\starttext
   \completecontent
   \dorecurse{2}
     {\section{My section}
      \dorecurse{2}
        {\subsection{My subsection}
         \input knuth}}
\stoptext
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20140505/e3c0542c/attachment.html>


More information about the ntg-context mailing list