From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/28643 Path: news.gmane.org!not-for-mail From: Bernd Militzer Newsgroups: gmane.comp.tex.context Subject: Re: Undefined control sequence. Date: Sun, 18 Jun 2006 11:24:57 +0200 Message-ID: <1150622697.4137.8.camel@eagle.intern> References: <1150538248.4134.8.camel@eagle.intern> <6faad9f00606170722keb9432s6fbdf755af8a8c63@mail.gmail.com> 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 1150622671 8668 80.91.229.2 (18 Jun 2006 09:24:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 18 Jun 2006 09:24:31 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Jun 18 11:24:30 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 1FrtW1-0005pk-5a for gctc-ntg-context-518@m.gmane.org; Sun, 18 Jun 2006 11:24:21 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 01FB112823; Sun, 18 Jun 2006 11:24:21 +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 21390-06; Sun, 18 Jun 2006 11:24:15 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0DF75127D3; Sun, 18 Jun 2006 11:24:13 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B3E4B127D3 for ; Sun, 18 Jun 2006 11:24:10 +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 22839-04 for ; Sun, 18 Jun 2006 11:24:08 +0200 (CEST) Original-Received: from new.militzer.net (new.militzer.net [81.169.143.226]) by ronja.ntg.nl (Postfix) with SMTP id 12CA9127CA for ; Sun, 18 Jun 2006 11:24:07 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by new.militzer.net (Postfix) with ESMTP id 627B8184078 for ; Sun, 18 Jun 2006 11:24:06 +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 17372-08 for ; Sun, 18 Jun 2006 11:24:02 +0200 (CEST) Original-Received: from eagle.intern (pD9527DD8.dip.t-dialin.net [217.82.125.216]) by new.militzer.net (Postfix) with ESMTP id 64C94184077 for ; Sun, 18 Jun 2006 11:24:02 +0200 (CEST) Original-To: "ntg-context@ntg.nl" In-Reply-To: X-Mailer: Evolution 2.0.1 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:28643 Archived-At: > And if you want to avoid redundancy: > > \definesynonyms[PID][PIDs][\doGetPID] > > \def\getPID#1{Militzer, \doGetPID{#1}~(#1)} > > \PID{8}{Hermann Paul} > \PID{16}{Johann Wilhelm Hermann} my solution ist now: \definesynonyms[PID][PIDs][\doGetPID] \def\getPID#1{\doGetPID{#1}~(#1)} \def\getPIDGeb#1{\doGetPID{#1}~(#1) -- Geburt} \def\getPIDHei#1{\doGetPID{#1}~(#1) -- Heirat} \def\getPIDTod#1{\doGetPID{#1}~(#1) -- Tod} \PID{8}{Militzer, Hermann Paul} \PID{16}{Militzer, Johann Wilhelm Hermann} \PID{17}{Fischer, Johanna Christiane Pauline} \PID{34}{Fischer, Joha\={n} Gottlieb} \PID{35}{Werner, Johanne Christiane Dorothee} \PID{67}{Rudolph, Joha\={n}e Christiane Friedericke} Thanks Peter Bernd