1

When building a LaTeX file (with Texstudio, if that's important) in addition to the .tex and .pdf files, there are also .aux, .log, and .synctex.gz created. What do these extra files do?

Joseph Wright
  • 259,911
  • 34
  • 706
  • 1,036
  • Welcome to TeX-sx! http://tex.stackexchange.com/questions/7770/file-extensions-of-latex-related-files might be what you are after. See also the related links, e.g. http://tex.stackexchange.com/questions/11123/prevent-pdflatex-from-writing-a-bunch-of-files – Joseph Wright May 27 '15 at 16:01
  • .aux holds information like cross referencing. If you compile and then later delete this file, you'll need to recompile multiple times (again!), it also has listed the packages and document class you used, etc... .log is the log file. See also Prevent pdflatex from writing a bunch of files and What exactly is SyncTeX? – Alenanno May 27 '15 at 16:02

1 Answers1

1

The .logfile is the compilation report. It mentions any errors or warnings from the compiler. It's very useful in case of problems.

The .aux file stores information for the compiler such as cross references and other elements, to build the table of contents, bibliographic references, indexes, &c.

synctex.gz is a (compressed) synchronisation file, which allows to go with one clic from a point in the source-code to the corresponding point in the .pdf, and back.

Bernard
  • 271,350