From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/6332 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Namespacing again Date: Fri, 14 Dec 2001 12:13:46 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20011214121017.02f057d8@server-1> References: <20011213214501.GA14156@localhost> 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 1035396862 9604 80.91.224.250 (23 Oct 2002 18:14:22 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:14:22 +0000 (UTC) Cc: ConTeXt ML Original-To: Marco Kuhlmann In-Reply-To: <20011213214501.GA14156@localhost> Xref: main.gmane.org gmane.comp.tex.context:6332 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:6332 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 | 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 -------------------------------------------------------------------------