At 04:27 PM 3/21/2003 +0100, you wrote:
Hans Hagen <[EMAIL PROTECTED]> writes:

Hello,

> you're lucky: a few days ago i added a key: margintext=yes to the
> setuphead command that will enable flushing of margin texts

And how shoud it be used?

\setuphead[...][margintext=yes,command=MyHead]

\def\MyHead#1#2{\margintext{#1,#2}} is not the way to go, is it?

no, it's just flushing previous ones; maybe the next solution will prevent a sleepless night:


\starttext

\setuphead
  [subsubsection]
  [alternative=text,distance=0pt,command=\MyHead]

\def\MyHead#1#2{\inleftmargin{#1 #2}}

\subsubsection{patrick}

\input tufte

\stoptext

normally text will put the head in from of the text, so here we let the command lap it to the left; of course we need to nil the distance; so, actually it fits will into the normal configuration.

so, if you cook up a nice keyword for this alternative, i will show you how easy it is added as alternative -)

Hans
-------------------------------------------------------------------------
                                  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                       information: http://www.pragma-ade.com/roadmap.pdf
                    documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to