I'm trying to create an index of manually-added words in memoir. I've looked up instructions in the documentation, and came up with the following MWE. It compiles, but why is the index not showing up?
\documentclass{memoir}
\makeindex
\indexintoc
\begin{document}
\frontmatter
\tableofcontents*
\mainmatter
\chapter{My chapter}
\noindent This is some text.
\index{text}
\backmatter
\printindex
\end{document}
makeindex, and then rerunpdflatex? – Peter Grill Apr 04 '12 at 02:33\makeindexcommand in the document, if that's what you mean...? – jamaicanworm Apr 04 '12 at 02:34pdflatex(which produces the .idx file), thenMakeIndexwhich generates the .ind file, which is read by the subsequent run ofpdflatexwhich produces the index. – Peter Grill Apr 04 '12 at 02:41makeindex.exe(afterpdflatex)--but still no index is showing up. Do any command-line arguments need to be written alongsidemakeindex.exe? (Also, is it necessary to have the line\makeindexin the document?) – jamaicanworm Apr 04 '12 at 02:46latexmkwhich will take care of all this by itself. That is, you have to take care of the code, andlatexmkwill take care of the compilation in terms of the different executables that have to be run, the order etc. – Dror Apr 04 '12 at 06:40pdflatex,makeindex,pdflatex, in a terminal, that is by not using an editor. Or try using TeXMaker instead (I'm not a big fan of TeXnicCenter) – daleif Apr 04 '12 at 07:46makeindexproperly. This answer (from the question @PeterGrill linked to in his answer) provided the solution. – jamaicanworm Apr 04 '12 at 14:22