keep tikzexternalize files

This commit is contained in:
Brian Gough 2017-09-28 16:36:25 +01:00
parent dc0b7d5dba
commit 2bdba15bd5

View file

@ -78,6 +78,8 @@ 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.match(/^output-.*/) # Tikz cached figures
should_delete = false
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