From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/15784 Path: main.gmane.org!not-for-mail From: Hans Hagen Outside Newsgroups: gmane.comp.tex.context Subject: Re: key=value parameters Date: Sat, 24 Jul 2004 09:10:50 -0700 Sender: ntg-context-bounces@ntg.nl Message-ID: <41028A0A.30104@wxs.nl> References: <4100D052.5070801@seznam.cz> <20040723111209.2d36bd92@glenlivet.elvenkind.com> <4100EE2D.4000906@seznam.cz> <41015D08.10305@wxs.nl> <4102244C.4040405@seznam.cz> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1090685729 25198 80.91.224.253 (24 Jul 2004 16:15:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 24 Jul 2004 16:15:29 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sat Jul 24 18:15:24 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BoPBE-0007Du-00 for ; Sat, 24 Jul 2004 18:15:24 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 09B0D1278B; Sat, 24 Jul 2004 18:15:24 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 20463-02-4; Sat, 24 Jul 2004 18:15:23 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2135612784; Sat, 24 Jul 2004 18:15:23 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0421E1276F for ; Sat, 24 Jul 2004 18:15:21 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 20463-02-3 for ; Sat, 24 Jul 2004 18:15:20 +0200 (CEST) Original-Received: from mailrelay01.solcon.nl (unknown [212.45.32.200]) by ronja.ntg.nl (Postfix) with ESMTP id EE7AF12784 for ; Sat, 24 Jul 2004 18:15:19 +0200 (CEST) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay01.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id i6OGFFRQ013241 for ; Sat, 24 Jul 2004 18:15:15 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id 2107A205CD; Sat, 24 Jul 2004 18:15:19 +0200 (CEST) Original-Received: from [127.0.0.1] (unknown [10.100.1.1]) by server-1.pragma-net.nl (Postfix) with ESMTP id 43C6D1ACB5 for ; Sat, 24 Jul 2004 16:15:17 +0000 (UTC) User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <4102244C.4040405@seznam.cz> X-Virus-Scanned: clamd / ClamAV version 0.75, clamav-milter version 0.75 on mailrelay01 X-Virus-Status: Clean X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:15784 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:15784 Vit Zyka wrote: > > What about use the same parameter parser as in the \setparameters: > > \def\rawgetparameters{\dogetparameters\rawdosetvalue} > \def\rawdosetvalue#1#2{\@EA\def\csname#1#2\endcsname} there's: \setvariables[namespace][key=value] \getvariable{namespace}{key} the raw ones are for situations where speed is needed, so don't touch the definitions Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------