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?
- Welcome to TeX-sx! tex.stackexchange.com/questions/7770/… might be what you are after. See also the related links, e.g. tex.stackexchange.com/questions/11123/…Joseph Wright– Joseph Wright ♦2015-05-27 16:01:14 +00:00Commented May 27, 2015 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– Alenanno2015-05-27 16:02:32 +00:00Commented May 27, 2015 at 16:02
1 Answer
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.