From: Aditya Mahajan <adityam@umich.edu>
Subject: Re: definesynonyms
Date: Thu, 27 Jul 2006 01:54:46 -0400 (EDT) [thread overview]
Message-ID: <Pine.WNT.4.63.0607270153140.3664@nqvgln> (raw)
In-Reply-To: <1117DD70-36BA-47AE-89B3-98DBC1DAF07D@militzer.net>
On Mon, 24 Jul 2006, Bernd Militzer wrote:
> Thanks a Taco!
>
> with PID[268]%
> ^
> [Fam=Rudolph,
> Nam=Rudluffen,
> Vor=Adam]
>
You can also do
\def\PID[#1]#2[#3]{\getparameters[PID#1][#3]}
% #2 is to gobble spaces
\def\doGetPID#1#2{\getvalue{PID#2#1}}
\def\getPID#1{\doGetPID{Fam}{#1}, \doGetPID{Vor}{#1}~(#1)}
with this both
\PID[268]
[Fam=Rudolph,
Nam=Rudluffen,
Vor=Adam]
and
\PID[268][Fam=Rudolph,Nam=Rudluffen,Vor=Adam]
work.
Aditya
next prev parent reply other threads:[~2006-07-27 5:54 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 ` definesynonyms Taco Hoekwater
2006-07-24 14:37 ` definesynonyms Bernd Militzer
2006-07-24 15:15 ` definesynonyms Bernd Militzer
2006-07-27 5:54 ` Aditya Mahajan [this message]
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=Pine.WNT.4.63.0607270153140.3664@nqvgln \
--to=adityam@umich.edu \
--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).