Dear fellow Contexters, there are some subheadings I’d like to place in the margin approximately like that:
···8<···························································· \def\text{knuth} \setuplayout[grid=yes] \showgrid \setuphead[section][ %grid=yes, style={\tf\bf\color[red]}, command=\placeheadinmargin, before=,after=, ] \setupwhitespace[none] \def\placeheadinmargin#1#2{% %\margintitle{#2}% \margintitle{\raise-\baselineskip\hbox{#2}}% needed with grid } \starttext \dorecurse{10}{% \section{\text} \input \text \par } \stoptext ···8<···························································· Question is: how do I get rid of the empty line before the heading? I thought I exhausted every possibility by unsetting the ‘after’ and ‘before’ keys and disabling interpar whitespace -- but not quite! Thanks for any suggestions, Philipp -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
pgp8JCZc3xhTu.pgp
Description: PGP signature
___________________________________________________________________________________ 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 ___________________________________________________________________________________