From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/29726 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: definesynonyms Date: Thu, 27 Jul 2006 01:54:46 -0400 (EDT) Message-ID: References: <44C48EC9.4030803@elvenkind.com> <1117DD70-36BA-47AE-89B3-98DBC1DAF07D@militzer.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1153979716 8334 80.91.229.2 (27 Jul 2006 05:55:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 27 Jul 2006 05:55:16 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 27 07:55:04 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 1G5ypn-0001Gz-9P for gctc-ntg-context-518@m.gmane.org; Thu, 27 Jul 2006 07:54:59 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8A7FE1FDFC; Thu, 27 Jul 2006 07:54:58 +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 31966-03-4; Thu, 27 Jul 2006 07:54:53 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4FD711FDF7; Thu, 27 Jul 2006 07:54:53 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9FFE01FDF7 for ; Thu, 27 Jul 2006 07:54:51 +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 31966-03-3 for ; Thu, 27 Jul 2006 07:54:50 +0200 (CEST) Original-Received: from skycaptain.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.93.160]) by ronja.ntg.nl (Postfix) with SMTP id C5A541FDF4 for ; Thu, 27 Jul 2006 07:54:49 +0200 (CEST) Original-Received: FROM aditya.annarb01.mi.comcast.net (c-68-40-50-205.hsd1.mi.comcast.net [68.40.50.205]) BY skycaptain.mr.itd.umich.edu ID 44C85526.F3FCA.28352 ; 27 Jul 2006 01:54:48 -0400 Original-To: mailing list for ConTeXt users In-Reply-To: <1117DD70-36BA-47AE-89B3-98DBC1DAF07D@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:29726 Archived-At: On Mon, 24 Jul 2006, Bernd Militzer wrote: > Thanks a Taco! > > with PID[268]% > ^ > [Fam=Rudolph, > Nam=Rudluffen, > Vor=Adam] > You can also do \def\PID[#1]#2[#3]{\getparameters[PID#1][#3]} % #2 is to gobble spaces \def\doGetPID#1#2{\getvalue{PID#2#1}} \def\getPID#1{\doGetPID{Fam}{#1}, \doGetPID{Vor}{#1}~(#1)} with this both \PID[268] [Fam=Rudolph, Nam=Rudluffen, Vor=Adam] and \PID[268][Fam=Rudolph,Nam=Rudluffen,Vor=Adam] work. Aditya