I don't want the .aux, .log and .synctex.gz files when using pdflatex

后端 未结 10 813
庸人自扰
庸人自扰 2020-12-23 16:58

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

10条回答
  •  礼貌的吻别
    2020-12-23 17:23

    Write a shell-script wrapper which removes the files:

    #!/bin/sh
    pdflatex "$@" && rm -f *.aux *.log *.synctex.gz
    

    Bonus-assignment: modifying the script to only remove the files actually created by pdflatex.

提交回复
热议问题