From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/6183 Path: main.gmane.org!not-for-mail From: Andres Loeh Newsgroups: gmane.comp.tex.context Subject: Re: pictures for numbers Date: Fri, 16 Nov 2001 16:29:15 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <20011116162915.H29519@cs.uu.nl> References: <20011116105527.A29519@cs.uu.nl> <5.1.0.14.1.20011116125114.02eebb88@server-1> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035396726 8290 80.91.224.250 (23 Oct 2002 18:12:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:12:06 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Hans Hagen In-Reply-To: <5.1.0.14.1.20011116125114.02eebb88@server-1>; from pragma@wxs.nl on Fri, Nov 16, 2001 at 12:53:14PM +0100 Xref: main.gmane.org gmane.comp.tex.context:6183 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:6183 > \setuphead[chapter][numbercommand=\NumberCommand] > > \def\NumberCommand#1% > {\externalfigure[picture-\currentheadnumber][height=1cm]} > > we cannot use #1 because it is more that the number; \currentheadnumber is > available in the latest version Sorry, in the previous mail I did not make use of your comment about \currentheadnumber. The solution to add \setuphead[chapter][numbercommand=\MakeSleutels] \def\MakeSleutels#1% {\Sleutels\currentheadnumber} ^^^^^^^^^^^^^^^^^^ (instead of #1) actually seems to work perfectly. But nevertheless I'd still be interested why defining the conversion does not work ... Groeten, Andres -- Andres Loeh, Universiteit Utrecht mailto:andres@cs.uu.nl mailto:mail@andres-loeh.de http://www.andres-loeh.de