0

I would like to use showidx with imakeidx and multiple indexes. While the indexes are as expected the entries going into the non-default index are recognized incorrectly by showidx.

The documentation of showidx and imakeidx only seems to specify that showidx should be loaded before imakeidx.

I use showidx.sty 2014/09/29 v1.0m and imakeidx.sty 2013/07/11 v1.3a.

\documentclass{article}
\usepackage{showidx}
\usepackage{imakeidx}
\usepackage{blindtext}
\usepackage{amsmath}
\makeindex[name=symbol,title={Index of Symbols}]
\makeindex
\begin{document}
$\mathcal{C}$\index[symbol]{$\mathcal{C}$}
\blindtext

$\max$\index[symbol]{$\max$}

\blindtext[4]

\index{foo}
\index{bar}
\blindtext

\printindex[symbol] 
\printindex 
\end{document}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.