From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/12995 Path: main.gmane.org!not-for-mail From: Giuseppe Bilotta Newsgroups: gmane.comp.tex.context Subject: Re: parameter mechanism Date: Wed, 27 Aug 2003 16:56:40 +0200 Sender: ntg-context-admin@ntg.nl Message-ID: <7521020275.20030827165640@iol.it> References: <3F4CB2F0.2020705@arcor.de> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1061996683 5170 80.91.224.253 (27 Aug 2003 15:04:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 27 Aug 2003 15:04:43 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Wed Aug 27 17:04:41 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19s1qj-0003Ce-00 for ; Wed, 27 Aug 2003 17:04:41 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id C18E210B62; Wed, 27 Aug 2003 17:04:35 +0200 (MEST) Original-Received: from smtp0.libero.it (smtp0.libero.it [193.70.192.33]) by ref.ntg.nl (Postfix) with ESMTP id 59A8210B26 for ; Wed, 27 Aug 2003 16:57:43 +0200 (MEST) Original-Received: from OBLOMOV (151.29.130.132) by smtp0.libero.it (7.0.019) id 3F40A03C001970AA for ntg-context@ntg.nl; Wed, 27 Aug 2003 16:57:41 +0200 X-Mailer: The Bat! (v1.63 Beta/11) X-Priority: 3 (Normal) Original-To: ntg-context@ntg.nl In-Reply-To: <3F4CB2F0.2020705@arcor.de> Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:12995 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:12995 Wednesday, August 27, 2003 Peter Rolf wrote: PR> Hello all, PR> I have problems to understand the command (parameter) mechanism of context. PR> My experiments with \getparameters didn't work, so I used PR> \xdescgetparameters PR> from Giuseppe Bilotta (t-xdesc.tex). PR> In my eyes they look the same, but \xdescgetparameters works with my sample PR> code, \getparameters don't. Mhhh.... PR> % t-xdesc.tex PR> \def\xdescsetvalue#1#2{\expandafter\def\csname#1#2\endcsname} PR> \def\xdescgetparameters{\dogetparameters\xdescsetvalue} PR> % syst-gen.tex PR> \def\dosetvalue#1#2% #3 PR> {\@EA\def\csname#1#2\endcsname} % {#3}} PR> \def\getparameters {\dogetparameters\dosetvalue} PR> This leads me to my two questions: PR> What must I change, to make my test example run with \getparameters? The trick is in mult-ini.tex, which redefines dosetvalue & co to support the multilingual interface; this is a problem when you want to get raw (unconverted) keyword/value sets, which is why it fails. ConTeXt used to have "raw" version of the do..value commands, but they disappeared at one point. Yes, they should be re-introduced. -- Giuseppe "Oblomov" Bilotta