From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/6197 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: pictures for numbers Date: Fri, 16 Nov 2001 17:38:37 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20011116173802.0301e2c8@server-1> References: <5.1.0.14.1.20011116125114.02eebb88@server-1> <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"; format=flowed X-Trace: main.gmane.org 1035396739 8416 80.91.224.250 (23 Oct 2002 18:12:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:12:19 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Andres Loeh In-Reply-To: <20011116162915.H29519@cs.uu.nl> Xref: main.gmane.org gmane.comp.tex.context:6197 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:6197 At 04:29 PM 11/16/2001 +0100, Andres Loeh wrote: > > \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 ... try: \showargument{#1} inside \MakeSleutels ------------------------------------------------------------------------- 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 -------------------------------------------------------------------------