Преглед изворни кода

keep tikzexternalize files

Brian Gough пре 9 година
родитељ
комит
2bdba15bd5
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      services/clsi/app/coffee/ResourceWriter.coffee

+ 2 - 0
services/clsi/app/coffee/ResourceWriter.coffee

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