When I generate a .pdf file from a .tex file using pdflatex, only the \"Contents\" title is shown with no actual TOC. If I run pdfla
.pdf
.tex
pdflatex
pdfla
This is normal. LaTeX document need several compilations to reach a stable state. Use rubber -d my to compile the right number of times (rubber comes as a package on many linux distros).
rubber -d my