Is there a command to delete all auxiliary files within the terminal without compiling the tex
-file first?
There is such an option for latexmk
but then I have to build the pdf
first.
Edit
Ok, I try to be more explicit: Sometimes things go wrong and one has to delete all the aux
, bbl
, bcf
etc. files. Some editor have this option but since we can compile a tex
file with the terminal I was wondering whether there is also a function/program which would delete all those created auxiliary files automatically; e.g. $ cleartex .
for all auxiliary files in that directory.
As moewe suggests such a program could have the gitignore list as base to work with.
latexmk -c *.tex
will remove all aux files generated from the given.tex
files.rm *.aux
removes all aux files from the current directory (ordel
rather thanrm
in windows cmd prompt)