I copied a beamer presentation and made new slides, but when I compile it the table of contents is missing.

I tried copying and pasting the old presentation into mine and it is still missing the table of contents.

Is there any extra build flags I have to add to make this work?

  • Based on an actual question I've gotten.
    – machinaut
    Jul 26 '10 at 19:26
  • 2
    Where is your code? or at least the bit which is supposed to produce the toc? Without that it is hard to say....
    – Vivi
    Jul 26 '10 at 19:27
  • This question almost gets in the way of questions regarding problems that could create the same symptom. Apr 22 '14 at 3:29

You need to build the presentation twice to see the table of contents in it.

The first build will generate it based on the content, and the second will put the finished table of contents in your presentation.

  • 3
    Note that this isn't at beamer-specific, it's true of any LaTeX document. And technically you should run it three times, as the ToC generation on the second pass can mess up page numbers, and the third pass will fix them Jul 26 '10 at 19:27
  • ajray, when you post questions like that, give people a chance to answer. It is a bit weird that you post a question and a minute later post an answer.
    – Vivi
    Jul 26 '10 at 19:29
  • Can you accept your answer so that it isn't an "unanswered" question any more? Apr 19 '11 at 14:38

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