support for tikz externalize

make copy of main file as output.tex for tikz externalize
This commit is contained in:
Brian Gough
2017-03-16 16:55:53 +00:00
parent f059948e27
commit 8803762081
4 changed files with 113 additions and 1 deletions

View File

@@ -50,6 +50,8 @@ module.exports = ResourceWriter =
should_delete = false
if path == "output.pdf" or path == "output.dvi" or path == "output.log"
should_delete = true
if path == "output.tex" # created by TikzManager if present in output files
should_delete = true
if should_delete
jobs.push (callback) -> ResourceWriter._deleteFileIfNotDirectory Path.join(basePath, path), callback