Merge pull request #60 from sharelatex/bg-delete-xdv-files

delete intermediate xdv files from xelatex
This commit is contained in:
Brian Gough 2017-06-16 09:13:43 +01:00 committed by GitHub
commit 7b8e9963e8

View file

@ -48,7 +48,7 @@ module.exports = ResourceWriter =
should_delete = true
if path.match(/^output\./) or path.match(/\.aux$/) or path.match(/^cache\//) # knitr cache
should_delete = false
if path == "output.pdf" or path == "output.dvi" or path == "output.log"
if path == "output.pdf" or path == "output.dvi" or path == "output.log" or path == "output.xdv"
should_delete = true
if path == "output.tex" # created by TikzManager if present in output files
should_delete = true