On 14-3-2010 15:07, Andreas Harder wrote:
Hi all,
please have a look at the following example:
\newsignal\SectionSignal
\def\TestSpace%
{\relax\ifdim\lastskip=\SectionSignal \blank[nowhite]
\else \blank \fi}
\setuphead[section] [after=\blank\vskip\SectionSignal]
\setuphead[subsection][before=\TestSpace]
\starttext
\startcolumns
\section{Section}
\subsection{Subsection}
\dorecurse{50}{some text, }
\stopcolumns
\stoptext
If one removes the blank line after \section{Section} the output is correct,
otherwise \TestSpace is ignored …
I'm quite sure it worked a couple of weeks before.
in mkiv? probbably not ... for what do you need that kind of trickery?
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________