[texhax] Bug in makeidx
Rick Zaccone
zaccone at BUCKNELL.EDU
Thu Nov 17 00:34:05 CET 2005
The following example illustrates what appears to be a bug in the
makeidx package. The problem occurs if the index term contains a
tie. The \index command generates a different entry in the body and in
the footnote, resulting in two entries in the index.
\documentclass{article}
\usepackage{makeidx}
\makeindex
\begin{document}
foo bar\index{foo~bar}\footnote{foo bar\index{foo~bar}}
\printindex
\end{document}
This example produces the following .idx file:
\indexentry{foo~bar}{1}
\indexentry{foo\nobreakspace {}bar}{1}
As a result, there are two entries in the index. If I replace the tie
with a space, it works properly
Is this a bug, or am I missing something?
Rick
More information about the texhax
mailing list