From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/29646 Path: news.gmane.org!not-for-mail From: Bernd Militzer Newsgroups: gmane.comp.tex.context Subject: Re: definesynonyms Date: Mon, 24 Jul 2006 16:37:51 +0200 Message-ID: <06F29787-D496-4717-8716-8AD0D65AD98E@militzer.net> References: <44C48EC9.4030803@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1153833840 24880 80.91.229.2 (25 Jul 2006 13:24:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 25 Jul 2006 13:24:00 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Jul 25 15:23:58 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1G5Mt7-0001oM-An for gctc-ntg-context-518@m.gmane.org; Tue, 25 Jul 2006 15:23:54 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C12FB1FE1F; Tue, 25 Jul 2006 15:23:52 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 32638-06-6; Tue, 25 Jul 2006 15:23:48 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 216A11FE21; Tue, 25 Jul 2006 15:23:48 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 901511FE21 for ; Tue, 25 Jul 2006 15:23:45 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 32638-06-5 for ; Tue, 25 Jul 2006 15:23:44 +0200 (CEST) Original-Received: from new.militzer.net (new.militzer.net [81.169.143.226]) by ronja.ntg.nl (Postfix) with SMTP id 210371FE1F for ; Tue, 25 Jul 2006 15:23:33 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by new.militzer.net (Postfix) with ESMTP id BF709184009 for ; Mon, 24 Jul 2006 16:34:44 +0200 (CEST) Original-Received: from new.militzer.net ([127.0.0.1]) by localhost (new [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 01246-06 for ; Mon, 24 Jul 2006 16:34:40 +0200 (CEST) Original-Received: from [192.168.192.174] (pD9E63A41.dip.t-dialin.net [217.230.58.65]) by new.militzer.net (Postfix) with ESMTP id 5E198184008 for ; Mon, 24 Jul 2006 16:34:40 +0200 (CEST) In-Reply-To: <44C48EC9.4030803@elvenkind.com> Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.752.2) X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at new.militzer.net X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:29646 Archived-At: Am 24.07.2006 um 11:11 schrieb Taco Hoekwater: > > But it is probably easier to write a small database interface > layer. Somewhat like this (note that I had to change \doGeTPID > as well). > > \def\PID[#1][#2]{\getparameters[PID#1][#2]} > > \def\doGetPID#1#2{\getvalue{PID#2#1}} > > \def\getPID#1{\doGetPID{Fam}{#1}, \doGetPID{Vor}{#1}~(#1)} > > \PID[268] > [Fam=Rudolph, > Nam=Rudluffen, > Vor=Adam] Thanks Taco for that example, but sorry it dos not work. Runaway argument? 268] [Fam=Rudolph, Nam=Rudluffen, Vor=Adam] ! Paragraph ended before \PID was complete. \par l.57 I have no idea. Bernd