I want to include all cited authors in the index, but with the biblabel and not with the pagenumber. I tried authorindex
, but I want one index not two different. I also tried authorindex -i
but makeindex doesn't like the option biblabels
because the labels are not correct page numbers.
How do I get a single index (with \index{...}
entries and the cited authors) including the cited authors with the corresponding bibtex labels?
Here is a MWE:
\begin{filecontents*}{\jobname.bib}
@BOOK{Cameron1994,
AUTHOR = {Cameron, Peter Jephson},
TITLE = {{Combinatorics}: {Topics}, {Techniques}, {Algorithms}},
PUBLISHER = {Cambridge University Press},
YEAR = {1994}
}
@ARTICLE{Cameron2008,
AUTHOR = {Cameron, Peter Jephson and Gewurz, Daniele A. and Merola, Francesca},
TITLE = {{Product} action},
JOURNAL = {Discrete Math.},
YEAR = {2008}
}
\end{filecontents*}
\documentclass{article}
\usepackage{makeidx}
\usepackage[biblabels]{authorindex}
\makeindex
\begin{document}
I \index{cite}cite something like \aicite{Cameron1994} and \aicite{Cameron2008}.
I want a \index{merged}merged index.
\bibliographystyle{alpha}
\bibliography{\jobname.bib}
\printindex
\printauthorindex
\end{document}
I compile with
pdflatex
bibtex
makeindex
authorindex
pdflatex
authorindex
pdflatex
I get two indices (one for \printindex
and one for \printauthorindex
):
but what I want is a merged index like
To produce the last index I manipulated the *.ind
file by hand.
I tried a solution by myself, but I failed: I used authorindex -i -p MWE >> MWE.idx
to add the entries of the author index into the normal index. But I can not compile it with makeindex
, because the "CGM08" (etc.) are not correct page numbers.
\index{author1~\cite{author1}}
?\documentclass{...}
and ending with\end{document}
.