[Tex/LaTex] Problem with makeindex

indexingmemoir

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}

Best Answer

To generate an index, you need to:

  1. Run pdflatex which produces the .idx file
  2. Run MakeIndex which generated the .ind file
  3. Run pdflatex which will then incorporate the .ind file and produce the index page.

For issues related specifically to TeXnicCenter, see Makeindex in TeXnicCenter

Related Question