On Sat, 17 Jun 2006, Mojca Miklavec wrote:

> % \PID will create a new ently and \getPID will recall an existing one
> \definesynonyms[PID][PIDs][\getPID]
> 
> \PID{8}{Militzer, Hermann Paul (8)}
> \PID{16}{Militzer, Johann Wilhelm Hermann (16)}
> \PID{33}{Militzer, Henriette (33)}
> \PID{8448}{Militzer, Adam (8448)}

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}
\PID{33}{Henriette}
\PID{8448}{Adam}

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to