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 | [EMAIL PROTECTED]
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
-------------------------------------------------------------------------