From f2746b7d5bf88c90730eda6a331bfa11587eb3a3 Mon Sep 17 00:00:00 2001 From: Brian Gough Date: Thu, 15 Jun 2017 15:37:45 +0100 Subject: [PATCH] delete intermediate xdv files from xelatex --- services/clsi/app/coffee/ResourceWriter.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/clsi/app/coffee/ResourceWriter.coffee b/services/clsi/app/coffee/ResourceWriter.coffee index 2bf6598012..e2a0e1f842 100644 --- a/services/clsi/app/coffee/ResourceWriter.coffee +++ b/services/clsi/app/coffee/ResourceWriter.coffee @@ -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