From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/29630 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: definesynonyms Date: Mon, 24 Jul 2006 11:11:37 +0200 Message-ID: <44C48EC9.4030803@elvenkind.com> References: 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 1153732357 29529 80.91.229.2 (24 Jul 2006 09:12:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 24 Jul 2006 09:12:37 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Jul 24 11:12:32 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 1G4wTa-0001O4-AM for gctc-ntg-context-518@m.gmane.org; Mon, 24 Jul 2006 11:11:46 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6CC87127FF; Mon, 24 Jul 2006 11:11:46 +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 21810-03-4; Mon, 24 Jul 2006 11:11:42 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EA40A12841; Mon, 24 Jul 2006 11:11:41 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CAE3B12841 for ; Mon, 24 Jul 2006 11:11:40 +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 21810-03-3 for ; Mon, 24 Jul 2006 11:11:39 +0200 (CEST) Original-Received: from lochside.elvenkind.com (elvenknd.xs4all.nl [213.84.171.68]) by ronja.ntg.nl (Postfix) with SMTP id BE01D127FF for ; Mon, 24 Jul 2006 11:11:39 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by lochside.elvenkind.com (Postfix) with ESMTP id D18FF1B96E for ; Mon, 24 Jul 2006 11:11:38 +0200 (CEST) Original-Received: from lochside.elvenkind.com ([127.0.0.1]) by localhost (glenfiddich.elvenkind.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16589-02 for ; Mon, 24 Jul 2006 11:11:38 +0200 (CEST) Original-Received: from [10.10.0.6] (glenlivet.elvenkind.com [10.10.0.6]) by lochside.elvenkind.com (Postfix) with ESMTP id 879E7181F3 for ; Mon, 24 Jul 2006 11:11:38 +0200 (CEST) User-Agent: Mozilla Thunderbird 1.0.6-7.1.20060mdk (X11/20050322) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: X-Virus-Scanned: by amavisd-new at elvenkind.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:29630 Archived-At: Bernd Militzer wrote: > Hi all, > > for a large ancestor-project I defined a set of informations for a > lot of persons like you can see below. > > QUESTION: how many synonyms can I max. define? I need about 4000 defs. If you need only 4000 separate PIDs, that should work ok. > or has someone a better idea to handle those informations. 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] Cheers, Taco