From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/11562 Path: main.gmane.org!not-for-mail From: Patrick Gundlach Newsgroups: gmane.comp.tex.context Subject: Re: setuphead(s), subject, alternative=inmargin Date: Fri, 21 Mar 2003 18:47:47 +0100 Organization: privat Sender: ntg-context-admin@ntg.nl Message-ID: <87ptokr4qk.fsf@gundla.ch> 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> <5.1.0.14.1.20030321171720.0257f8a8@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 X-Trace: main.gmane.org 1048269075 17575 80.91.224.249 (21 Mar 2003 17:51:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 21 Mar 2003 17:51:15 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Fri Mar 21 18:51:11 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 18wQfD-0004Wv-00 for ; Fri, 21 Mar 2003 18:50:43 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id EBD7D10B84; Fri, 21 Mar 2003 18:50:48 +0100 (MET) Original-Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.183]) by ref.ntg.nl (Postfix) with ESMTP id E7A2410B25 for ; Fri, 21 Mar 2003 18:48:17 +0100 (MET) Original-Received: from [212.227.126.155] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 18wQct-00033K-00 for ntg-context@ntg.nl; Fri, 21 Mar 2003 18:48:19 +0100 Original-Received: from [129.217.137.77] (helo=levana) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 18wQct-0000Si-00 for ntg-context@ntg.nl; Fri, 21 Mar 2003 18:48:19 +0100 Original-Received: from pg by levana with local (Exim 3.12 #1 (Debian)) id 18wQcN-00008e-00 for ; Fri, 21 Mar 2003 18:47:47 +0100 Original-To: ntg-context@ntg.nl X-Lieblings-Musik: a.c. In-Reply-To: <5.1.0.14.1.20030321171720.0257f8a8@server-1> (Hans Hagen's message of "Fri, 21 Mar 2003 17:24:02 +0100") Original-Lines: 57 User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i586-pc-linux-gnu) 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:11562 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:11562 Hans Hagen writes: > no, it's just flushing previous ones; maybe the next solution will > prevent a sleepless night: Great! So we have two different setups now (well, there are 100s more) : % |left || textarea % |margin|| | | % | || | | %somelonghead*||We thrive in ... | | (#1) % | || | | % | || | | % | || | | % |*somehead nextsection | | (#2) % | || | | % | ||We thrive in ... | | * is the point of alignment. #1 is covered by \inleftmargin #1 #2 #2 is covered by MyHead which I've posted earlier. It would be nice to have some kind of "numberdistance", which goes between number and head (1____firstsection). > 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. OK, I have tested *without* text in the section ... > so, if you cook up a nice keyword for this alternative, alternative=a,b,c :) #1: marginright (= right aligned in margin) and #2: marginleft (since I am a bit confused by the naming of right- and leftalign in ConTeXt, this will be the other way round, I guess). > i will show > you how easy it is added as alternative -) Since I had a quick look in core-sec.tex I could guess how to add the keywords. The most difficult part would be the translation to dutch (margelinks?) Patrick