Avoiding the creation of .aux, .log and .synctex.gz files when using pdflatex

latexpdflatex

I just want to have a .tex file which I compile with pdflatex and end up with a .pdf file. I don't want all the other .aux, .log and .synctex.gz files. pdflatex doesn't seem to have arguments for this.

Best Answer

latexmk -c will remove the unnecessary files. latexmk is a great way to manage the compile too!

Related Topic