Search code examples
c++latexdoxygenpdflatex

doxygen: Table of contents broken in the pdf


After running Doxygen on my C++ code, I built the pdf documentation like this :

pdflatex refman.tex

All page numbers in the table of contents in the resulting pdf file are ??. What could be the reason and how can it be fixed ?

UPDATE: Running pdflatex a second time fixes the table of contents...


Solution

  • It's not due to Doxygen but the way you generated the pdf with pdflatex.

    You just have to recompile a second time with pdflatex to get the expected result.