TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?





\chapter{My chapter}
\noindent This is some text.


share|improve this question
Did you run makeindex, and then rerun pdflatex? – Peter Grill Apr 4 '12 at 2:33
@PeterGrill I put the \makeindex command in the document, if that's what you mean...? – jamaicanworm Apr 4 '12 at 2:34
No. There is a separate executable you need to invoke. First run pdflatex (which produces the .idx file), then MakeIndex which generates the .ind file, which is read by the subsequent run of pdflatex which produces the index. – Peter Grill Apr 4 '12 at 2:41
Yet again a great chance to mention latexmk which will take care of all this by itself. That is, you have to take care of the code, and latexmk will take care of the compilation in terms of the different executables that have to be run, the order etc. – Dror Apr 4 '12 at 6:40
Just for fun, and to rule out the editor, try running Peters solution, i.e. pdflatex, 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 4 '12 at 7:46
up vote 6 down vote accepted

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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.