At 09:45 PM 12/13/2001 +0000, Marco Kuhlmann wrote:
> Hi again,
>
>that namespacing stuff really confuses me. Now I wanted to
>provide a default layout for an article, with
>
>\def\setuparticle{%
> \dosingleargument\dosetuparticle}
>
>\def\dosetuparticle[#1]{%
> \getparameters[article@][#1]}
>
>\setuparticle
> [title=,
> author=,
> date={\currentdate[year,--,month,--,day]}]
>
>I always thought that this would create values article@title,
>article@author and article@date, which could be accessed by a
>command like \getvalue{article@date}. However, this does not
>seem to be the case (cf. my previous mails about letters). Why?
because behind the screens title becomes titel (currently low level context
is dutch, but the principle is the same for any low level interface language).
just use \getrawparameters to bypass this translation:
\def\setuparticle{\dodoubleempty\getrawparameters[article@]}
Hans
-------------------------------------------------------------------------
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
-------------------------------------------------------------------------