From: Taco Hoekwater <taco@elvenkind.com>
Subject: Re: indexing suggestion
Date: Tue, 17 Jan 2006 15:43:01 +0100 [thread overview]
Message-ID: <43CD0275.7090700@elvenkind.com> (raw)
In-Reply-To: <EF2E061A-D231-4181-9DB6-C02C80C1E7C8@science.uva.nl>
Hans van der Meer wrote:
> Making this into a macro I am now typing:
> in this \indexed{sentence} etc.
\def\indexed{\dosingleempty\doindexed}
\def\doindexed[#1]#2%
{\iffirstargument\index[#1]{#2}\else\index{#2}\fi#2}
Cheers, Taco
prev parent reply other threads:[~2006-01-17 14:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-17 13:09 Hans van der Meer
2006-01-17 14:43 ` Taco Hoekwater [this message]
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=43CD0275.7090700@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).