* Multi index
@ 2000-04-26 6:01 Robbert Hardin
2000-04-27 8:16 ` Hans Hagen
0 siblings, 1 reply; 2+ messages in thread
From: Robbert Hardin @ 2000-04-26 6:01 UTC (permalink / raw)
Dear ConTeXtusers
How can I simplify
Mickey\index{Mickey}\index{neighbour's cat}\index{furcoat with noise}
into something like
\Index{Mickey}{Mickey,neighbour's cat,furcoat with noise}
where the first Mickey is the text in the document and the the other text
between {} are the entries in the registry.
Kind regards, Robbert
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Multi index
2000-04-26 6:01 Multi index Robbert Hardin
@ 2000-04-27 8:16 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2000-04-27 8:16 UTC (permalink / raw)
Cc: ConTeXt
At 08:01 AM 4/26/2000 +0200, Robbert Hardin wrote:
>Dear ConTeXtusers
>
>How can I simplify
>
>Mickey\index{Mickey}\index{neighbour's cat}\index{furcoat with noise}
>
>into something like
>
>\Index{Mickey}{Mickey,neighbour's cat,furcoat with noise}
\def\Index#1#2{#1\processcommalist[#2]\index}
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-04-27 8:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-04-26 6:01 Multi index Robbert Hardin
2000-04-27 8:16 ` Hans Hagen
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).