Whenever I press CMD+T in
TexShop, the PDF created is not always updated correctly. I usually have to re-compile it to update the Table Of Contents and other changes I have made. How can I fix this ?
Using MACOSX 10.8 - TEXSHOP 3.11
You can't. LaTeX has to build the
Actually it does both things at once: typset with the already existing .aux file (which can be empty or non-existant) and create an updated one for the next run.
There exist tools that "simulate" a "one-compile-all-get" behaviour, like
Thanks to Torbjørn T. here are the links from his comments:
This behaviour is normal for any TeX engine (as explained in Foo Bar's answer), but Tools for automating document compilation might automate the multiple runs of creating a LaTeX document when required.
I'd suggest user friendly automation tool
PS: This package is maintained by the author, Paulo, who is also a distinguished member of TeX.SX community.