I'm having a problem with the great memoir class. I want more than one index. This seems straight forward enough from the memoir manual...but it just will not work for me. Only one index (the one with the same name as the tex file) is printed, the second one is not. For this second one there is a .idx file, but no .ind file... I've worked that out. I thought the \makeindex[lines] would make it for me, but no.
I believe I've followed all of the memoir instructions....
Many thanks for any help
Simon
below is the code I've used...
Code: Select all
\batchmode
\documentclass[a4paper,11pt]{memoir}
\listfiles
\usepackage{comment}
\usepackage{memsty}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\usepackage{titlepages} % code of the example titlepages
\usepackage{memlays} % extra layout diagrams
\usepackage{dpfloat} % floats on facing pages
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%% extra index for first lines
\makeindex
\makeindex[lines]
%% end preamble
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
temp text
\index[lines]{Alpha}
\index{Isaiah40}
\clearpage
\renewcommand{\preindexhook}{%
The first page number is usually, but not always, the primary reference to
the indexed topic.\vskip\onelineskip}
%%%\raggedright does nasty things to index entries
\printindex
\onecolindex
\renewcommand*{\preindexhook}{}
\renewcommand*{\indexname}{Index of first lines}
%%%\indexintoc
\printindex[lines]
\end{document}