[NTG-context] definesynonyms

Bernd Militzer bernd at militzer.net
Mon Jul 24 16:37:51 CEST 2006


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.
<to be read again>
                    \par
l.57

I have no idea.

Bernd



More information about the ntg-context mailing list