From: Hans Hagen <pragma@wxs.nl>
Subject: Re: Re: setuphead(s), subject, alternative=inmargin
Date: Fri, 21 Mar 2003 17:24:02 +0100 [thread overview]
Message-ID: <5.1.0.14.1.20030321171720.0257f8a8@server-1> (raw)
In-Reply-To: <87n0jo210x.fsf@gundla.ch>
At 04:27 PM 3/21/2003 +0100, you wrote:
>Hans Hagen <pragma@wxs.nl> 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 | pragma@wxs.nl
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
-------------------------------------------------------------------------
next prev parent reply other threads:[~2003-03-21 16:24 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-21 11:56 Mathias.Picker
2003-03-21 13:02 ` Patrick Gundlach
2003-03-21 13:33 ` Patrick Gundlach
2003-03-21 13:50 ` mathiasp
2003-03-21 14:02 ` Mathias Picker
2003-03-21 14:55 ` Patrick Gundlach
2003-03-23 13:54 ` Mathias Picker
2003-03-23 14:56 ` Patrick Gundlach
2003-03-21 14:13 ` Hans Hagen
2003-03-21 14:42 ` Patrick Gundlach
2003-03-21 15:03 ` Hans Hagen
2003-03-21 15:27 ` Patrick Gundlach
2003-03-21 16:24 ` Hans Hagen [this message]
2003-03-21 17:47 ` Patrick Gundlach
2003-03-21 17:58 ` Patrick Gundlach
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5.1.0.14.1.20030321171720.0257f8a8@server-1 \
--to=pragma@wxs.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).