From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/11560 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Re: setuphead(s), subject, alternative=inmargin Date: Fri, 21 Mar 2003 17:24:02 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <5.1.0.14.1.20030321171720.0257f8a8@server-1> References: <5.1.0.14.1.20030321160211.025ab9b8@server-1> <5.1.0.14.1.20030321150813.031e0830@server-1> <200303211156.h2LBu00m004798@mp.virtual-earth.de> <200303211156.h2LBu00m004798@mp.virtual-earth.de> <87adfo3mag.fsf@gundla.ch> <5.1.0.14.1.20030321150813.031e0830@server-1> <5.1.0.14.1.20030321160211.025ab9b8@server-1> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1048264330 19939 80.91.224.249 (21 Mar 2003 16:32:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 21 Mar 2003 16:32:10 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Fri Mar 21 17:32:06 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18wPR8-0005BD-00 for ; Fri, 21 Mar 2003 17:32:06 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 42C9910B93; Fri, 21 Mar 2003 17:32:12 +0100 (MET) Original-Received: from mail.solcon.nl (mail.solcon.nl [212.45.33.11]) by ref.ntg.nl (Postfix) with ESMTP id C35AE10B25 for ; Fri, 21 Mar 2003 17:27:30 +0100 (MET) Original-Received: from server-1.pragma-net.nl (wc-58016.solcon.nl [212.45.58.16]) by mail.solcon.nl (8.12.5/pre1.0-MySQL/8.12.5) with ESMTP id h2LGRP5B012150 for ; Fri, 21 Mar 2003 17:27:26 +0100 Original-Received: from LAPTOP-3.wxs.nl (laptop-3 [10.100.1.191]) by server-1.pragma-net.nl (8.12.3/8.12.2) with ESMTP id h2LGRTEU024382 for ; Fri, 21 Mar 2003 17:27:30 +0100 X-Sender: hagen-mail@server-1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Original-To: ntg-context@ntg.nl In-Reply-To: <87n0jo210x.fsf@gundla.ch> X-RAVMilter-Version: 8.4.1(snapshot 20020919) (mail.solcon.nl) Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:11560 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:11560 At 04:27 PM 3/21/2003 +0100, you wrote: >Hans Hagen 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 -------------------------------------------------------------------------