From: Hans Hagen <pragma@wxs.nl>
Cc: ntg-context@ntg.nl
Subject: Re: pictures for numbers
Date: Fri, 16 Nov 2001 17:38:37 +0100 [thread overview]
Message-ID: <5.1.0.14.1.20011116173802.0301e2c8@server-1> (raw)
In-Reply-To: <20011116162915.H29519@cs.uu.nl>
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
-------------------------------------------------------------------------
prev parent reply other threads:[~2001-11-16 16:38 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-16 9:55 Andres Loeh
2001-11-16 10:36 ` Taco Hoekwater
2001-11-16 11:55 ` Hans Hagen
2001-11-16 11:53 ` Hans Hagen
2001-11-16 15:06 ` [ConTeXt] " Andres Loeh
2001-11-16 16:37 ` Hans Hagen
2001-11-16 15:29 ` Andres Loeh
2001-11-16 16:38 ` Hans Hagen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5.1.0.14.1.20011116173802.0301e2c8@server-1 \
--to=pragma@wxs.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).