<HTML>
<HEAD>
<TITLE>Re: [texhax] Setting up multiple indexes for book formats</TITLE>
</HEAD>
<BODY>
<FONT FACE="Monaco"><SPAN STYLE='font-size:12.0px'>El 6/30/06 8:40 AM, &quot;Henry,Robert&quot; &lt;Robert.D.Henry@drexel.edu&gt; escribi&oacute;:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><SPAN STYLE='font-size:12.0px'><FONT FACE="Verdana">Hi,<BR>
&nbsp;<BR>
I am working on a book for a professor and we are not able to set up multiple indexes. &nbsp;I was able to do a normal index, but was wondering if there is a sample file that I can used to see how this is done? &nbsp;For example we want to set up an author index, a notation index, and a list of contacts. Any information that you can send would greatly be appreciated. &nbsp;I am using MiTex with Winedit.<BR>
</FONT><FONT FACE="Monaco"><BR>
</FONT></SPAN></BLOCKQUOTE><SPAN STYLE='font-size:12.0px'><FONT FACE="Monaco">I work on Mac OS X; therefore, I use Terminal for the following; I don&#8217;t know how to do it in Windows.<BR>
<BR>
1) In the preamble, for example:<BR>
<BR>
\usepackage{makeidx}<BR>
\usepackage{index}<BR>
\newindex{aut}{aidx}{aind}{\uppercase{Author index}}<BR>
\newcommand{\indexa}[1]{\index[aut]{#1}}<BR>
\newindex{not}{nidx}{nind}{\uppercase{Notation index}}<BR>
\newcommand{\indexn}[1]{\index[not]{#1}}<BR>
\newindex{cont}{cidx}{cind}{\uppercase{Contacts index}}<BR>
\newcommand{\indexc}[1]{\index[cont]{#1}}<BR>
\makeindex<BR>
<BR>
2) Then, in your text:<BR>
<BR>
This is a reference to Knuth\indexa{Knuth, D. E.}, where I have a notation\indexn{my notation}, and the contact\indexc{my contact} data.<BR>
<BR>
3) And then, in Terminal (or the like, I hope) the following commands:<BR>
<BR>
mak</FONT></SPAN><FONT SIZE="4"><FONT FACE="Lucida Grande"><SPAN STYLE='font-size:13.0px'>eindex -o my_Book.aind my_Book.aidx <BR>
<BR>
</SPAN></FONT></FONT><FONT FACE="Monaco"><SPAN STYLE='font-size:12.0px'>mak</SPAN></FONT><FONT SIZE="4"><FONT FACE="Lucida Grande"><SPAN STYLE='font-size:13.0px'>eindex -o my_Book.nind my_Book.nidx<BR>
<BR>
</SPAN></FONT></FONT><FONT FACE="Monaco"><SPAN STYLE='font-size:12.0px'>mak</SPAN></FONT><FONT SIZE="4"><FONT FACE="Lucida Grande"><SPAN STYLE='font-size:13.0px'>eindex -o my_Book.cind my_Book.cidx<BR>
<BR>
PLEASE, back up your data before attempting this ---once I lost a whole book because of a wrong command.<BR>
<BR>
4) Finally, where you want your indices to appear:<BR>
<BR>
\printindex[aut]<BR>
<BR>
\cleardoublepage<BR>
<BR>
\printindex[not]<BR>
<BR>
\cleardoublepage<BR>
<BR>
\printindex[cont]<BR>
<BR>
<BR>
Hope this works for you.<BR>
<BR>
Best<BR>
<BR>
Axel</SPAN></FONT></FONT>
</BODY>
</HTML>