[pdftex] Indexing an \item in an environment

Bindu Varghese bv at fluent.co.in
Thu Jul 8 12:47:54 CEST 2004


Hi,

I have an enivornment 'mylist' defined  as:

\newenvironment{mylist}{\begin{description}\let\makelabel\mylistlabel}{\end{description}}
\newcommand\mylistlabel[1]{\hspace\labelsep \my{#1}\index{#1}}

I use the \mylist as follows:

\begin{mylist}
\item[abc]
\item[xyz]
\end{mylist}

Now I would like to index abc, and xyz without having to use \index{abc}.

This works in the old version of latex for SunOS, but somehow doesnt 
work for Linux.

I wonder why??

Regards

Bindu





More information about the pdftex mailing list