# How to create two separate indices: Subject index and Index of Authors

I am working on my thesis and I have to include in the text the Subject Index and Index of Authors. I'm using BibTeX (package natbib) and package makeidx for marking the terms for Subject index (I'm using MikTeX 2.9 and TeXnicCenter). Problem is that \citeindextrue command from the natbib package write the citations into the .idx indexing file and I don't know how to separate both indices. I'd like to have first e.g. Subject Index (with that title) and than Index of Authors. Do you have any suggestions?

Here is the minimal example:

\documentclass{article}
\usepackage[english]{babel}
\usepackage{makeidx}
\usepackage{natbib}

\makeindex
\begin{document}
\citeindextrue

This is a  text with few references, e.g. \cite{Doreian05} or \Citet{Doreian05}.\\
key words: network\index{network}, blockmodeling\index{blockmodeling}, and so on.
% bibliography
\bibliographystyle{mcbride}
% the file with bibliography entries blockmodeling.bib
\bibliography{bibliography}
\printindex
\end{document}


The entry in the bibliography file (bibliography.bib) is e.g.

@BOOK{Doreian05,
author = {Patrick Doreian and Vladimir Batagelj and Anu\v{s}ka Ferligoj},
title = {Generalized Blockmodeling},
year = {2005},
publisher = {Cambridge University Press},
address = {New York, NY, USA}
}


you should maybe have a look at \usepackage{imakeidx}

\documentclass{article}
\usepackage[english]{babel}
\usepackage{imakeidx}
\makeindex
\makeindex[name=authors,title=Authors,columns=3]
\usepackage{natbib}

\makeindex
\begin{document}
\citeindextrue

This is a  text with few references, e.g. \cite{Doreian05} or \Citet{Doreian05}.\\
And it has fancy authors. \index[authors]{Doreian, Patrick} \index[authors]{Batagelj, Vladimir} \index[authors]{Ferligoj, Anu\v{s}ka}
key words: network\index{network}, blockmodeling\index{blockmodeling}, and so on.
% bibliography
\bibliographystyle{mcbride}
% the file with bibliography entries blockmodeling.bib
\bibliography{bibliography}
\printindex[authors]
\printindex
\end{document}


there's a good entry in the uk tex faq that shows several options. if you have tex live installed, you can access this via texdoc multind.