From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/11549 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 14:33:11 +0100 Organization: privat Sender: ntg-context-admin@ntg.nl Message-ID: <874r5w3kvc.fsf@gundla.ch> References: <200303211156.h2LBu00m004798@mp.virtual-earth.de> <87adfo3mag.fsf@gundla.ch> 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 1048253789 23124 80.91.224.249 (21 Mar 2003 13:36:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 21 Mar 2003 13:36:29 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Fri Mar 21 14:36:25 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 18wMge-0005xZ-00 for ; Fri, 21 Mar 2003 14:35:56 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 0804410B7F; Fri, 21 Mar 2003 14:36:01 +0100 (MET) Original-Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.189]) by ref.ntg.nl (Postfix) with ESMTP id C54E110B25 for ; Fri, 21 Mar 2003 14:33:35 +0100 (MET) Original-Received: from [212.227.126.162] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 18wMeP-0004WO-00; Fri, 21 Mar 2003 14:33:37 +0100 Original-Received: from [129.217.137.186] (helo=levana) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 18wMeO-0000Uv-00; Fri, 21 Mar 2003 14:33:37 +0100 Original-Received: from pg by levana with local (Exim 3.12 #1 (Debian)) id 18wMdz-0000Xc-00; Fri, 21 Mar 2003 14:33:11 +0100 Original-To: ntg-context@ntg.nl X-Lieblings-Musik: a.c. In-Reply-To: <87adfo3mag.fsf@gundla.ch> (Patrick Gundlach's message of "Fri, 21 Mar 2003 14:02:31 +0100") Original-Lines: 29 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:11549 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:11549 Patrick Gundlach writes: > Try this one: [...] Uh, Patrick, wake up! This is crap. Perhaps a little better is: % taken from core-sec.tex \def\MyHead#1#2% {\vbox {\localheadsetup \begstrut % use one \strut here! \llap{\hbox {\ifheadnumbercontent{#1}\kern\numberheaddistance\fi #2\hskip\linkermargeafstand}}}} \showframe \starttext \setuphead[section][alternative=command,command=\MyHead] \section{some} \setuphead[section][alternative=command,command=\MyHead,distance=0.1pt] \section{some} \setuphead[section][alternative=command,command=\MyHead,number=no] \section{some} \stoptext Anonymous