Take the 2-minute tour ×
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.

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?

share|improve this question
    
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
add comment

1 Answer

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.

share|improve this answer
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 –  Michael Mrozek 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? –  Charles Stewart Apr 19 '11 at 14:38
add comment

Your Answer

 
discard

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.