[tex-eplain] Indexing and numberedlist

Adam Fenn acwfenn at hotmail.com
Sat Jul 28 11:08:36 CEST 2007


I have a small macro which automatically puts an entry in the index.
However, I wish the index to refer to the number produced by the
numberedlist environment and not to the page number. Is there a way of
doing this?

\def\MyMacro#1#2#3{%
\li
{#1, }%                      surname
{#2: }%                      forename
{#3}%                        stuff
\sidx{#1, #2}
}

Thanks for your help,

Adam Fenn.

_________________________________________________________________
The next generation of Hotmail is here!  http://www.newhotmail.co.uk



More information about the tex-eplain mailing list