ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Taco Hoekwater <taco@elvenkind.com>
Subject: Re: definesynonyms
Date: Mon, 24 Jul 2006 11:11:37 +0200	[thread overview]
Message-ID: <44C48EC9.4030803@elvenkind.com> (raw)
In-Reply-To: <A7913541-3B70-4FEF-87A4-D7069E25059F@militzer.net>



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

  reply	other threads:[~2006-07-24  9:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-23 15:25 definesynonyms Bernd Militzer
2006-07-24  9:11 ` Taco Hoekwater [this message]
2006-07-24 14:37   ` definesynonyms Bernd Militzer
2006-07-24 15:15   ` definesynonyms Bernd Militzer
2006-07-27  5:54     ` definesynonyms Aditya Mahajan
2006-07-28 14:27       ` definesynonyms Bernd Militzer
2006-07-28 14:34         ` definesynonyms Taco Hoekwater
2006-07-28 16:10           ` definesynonyms Bernd Militzer
2006-07-24  9:37 ` definesynonyms Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44C48EC9.4030803@elvenkind.com \
    --to=taco@elvenkind.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).