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

后端 未结 10 855
庸人自扰
庸人自扰 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条回答
  •  旧时难觅i
    2020-12-23 17:18

    If anyone using TeXnicCenter has the same desire to only get a *.pdf file for the given *.tex file (no *.aux, *.bbl, *.blg and *.log files), here is a quick solution: Choose from the menu: Build | Define Output Profiles, copy the "LaTeX => PDF" profile to a new profile "LaTeX => PDF ONLY", then on the Postprocessor tab create four new postprocessors:

    Name: delete *.XXX

    Executable: "C:\WINDOWS\system32\cmd.exe"

    Arguments: /C del "%bm.XXX"

    Replace XXX with aux, bbl, blg, log, respectively.

提交回复
热议问题