I don't want the .aux, .log and .synctex.gz files when using pdflatex
问题 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. 回答1: latexmk -c will remove the unnecessary files. latexmk is a great way to manage the compile too! 回答2: I always build my PDF files like this: pdflatex -aux-directory=/some/temp/dir <additional options> That way, I don't have too see all the additional files. Those files should not be