ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* blank line and signals
@ 2010-03-14 14:07 Andreas Harder
  2010-03-14 16:19 ` Hans Hagen
  2010-03-16  0:32 ` Wolfgang Schuster
  0 siblings, 2 replies; 9+ messages in thread
From: Andreas Harder @ 2010-03-14 14:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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. 

Best regards
	Andreas
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-03-16  9:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-14 14:07 blank line and signals Andreas Harder
2010-03-14 16:19 ` Hans Hagen
2010-03-14 16:27   ` Wolfgang Schuster
2010-03-14 16:45     ` Hans Hagen
2010-03-14 17:00       ` Wolfgang Schuster
2010-03-14 17:50         ` Hans Hagen
2010-03-16  0:32 ` Wolfgang Schuster
2010-03-16  9:32   ` Andreas Harder
2010-03-16  9:59     ` Steffen Wolfrum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).