Re: [NTG-context] Empty heads after leading whitespace

2014-05-06 Thread Hans Hagen
On 5/6/2014 7:08 AM, Thangalin wrote: \setuphead [section] [placehead=empty, page=yes, after={\blank[0em]\blank[disable]}] That works for me. I don't know if it is "better," but if it works for you as well then it is probably the way to go. mtx-context | current version: 2014.

[NTG-context] Empty heads after leading whitespace

2014-05-06 Thread Maggyero
> after={\blank[0em]\blank[disable]}] Yes it also works, thank you Thangalin. So here is the final solution (I have added the 'nowhite' keyword in the second blank to kill whitespaces when they are active) to get real empty heads (sections here) in the document: \setupwhitespace[line] \setuphea

Re: [NTG-context] Empty heads after leading whitespace

2014-05-05 Thread Thangalin
\setuphead [section] [placehead=empty, page=yes, after={\blank[0em]\blank[disable]}] That works for me. I don't know if it is "better," but if it works for you as well then it is probably the way to go. mtx-context | current version: 2014.01.03 00:40

[NTG-context] Empty heads after leading whitespace

2014-05-05 Thread Maggyero
> Avoid vskip. Do you have a better solution? ___ 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 web

Re: [NTG-context] Empty heads after leading whitespace

2014-05-05 Thread Thangalin
Avoid vskip. http://wiki.contextgarden.net/Command/vskip ___ 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-

[NTG-context] Empty heads after leading whitespace

2014-05-04 Thread Maggyero
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]

[NTG-context] Empty heads after leading whitespace

2014-05-03 Thread Maggyero
Thanks Wolfgang. I could even have sections in the TOC with '\setuptexttexts[{\placerawheaddata[section]}]'. However, how can I start a new page at each new section? The 'page=yes' pair does no longer work with your solution 'placehead=hidden' (since the head is not placed I guess). I also tried

Re: [NTG-context] Empty heads after leading whitespace

2014-05-03 Thread Wolfgang Schuster
Am 03.05.2014 um 16:32 schrieb Maggyero : > A more explicit minimal example of the problem: > > > \setupheadertexts[section] > \setuphead[section][% > placehead=empty, > before=, > after=] > \setuphead[subsection][% > placehead=yes, > before={\blank[line]}, > after={\bla

[NTG-context] Empty heads after leading whitespace

2014-05-03 Thread Maggyero
A more explicit minimal example of the problem: \setupheadertexts[section] \setuphead[section][% placehead=empty, before=, after=] \setuphead[subsection][% placehead=yes, before={\blank[line]}, after={\blank[line]}] \starttext \showframe \section{My section} \subsection{M

[NTG-context] Empty heads after leading whitespace

2014-05-01 Thread Maggyero
> before=\empty, \empty is not even required. The problem with your solution (setting 'before=' i.e. empty) is that there is also no whitespace before a subsection which doesn't start on a new page. Any better ideas?

Re: [NTG-context] Empty heads after leading whitespace

2014-05-01 Thread Thangalin
\setuphead[section][% placehead=empty, before=, after=] \setuphead[subsection][% placehead=yes, before=\empty, after={\blank[line]}] \setupheadertexts[section] \starttext \showframe \section{My section} \subsection{My subsection (whitespace before)} % Here is my problem. \p

[NTG-context] Empty heads after leading whitespace

2014-04-30 Thread Maggyero
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