From 11407f52f2e9472a859a920702e0455119855b7e Mon Sep 17 00:00:00 2001 From: Fredrik Ekre Date: Sun, 2 Dec 2018 12:18:38 +0100 Subject: [PATCH] file -> texfile --- src/Writers/LaTeXWriter.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Writers/LaTeXWriter.jl b/src/Writers/LaTeXWriter.jl index aa9578f34f0..f93f0bdb431 100644 --- a/src/Writers/LaTeXWriter.jl +++ b/src/Writers/LaTeXWriter.jl @@ -100,7 +100,7 @@ function compile_tex(texfile) Sys.which("latexmk") === nothing && (@error "LaTeXWriter: latexmk command not found."; return false) @info "LaTeXWriter: using latexmk to compile tex." try - piperun(`latexmk -f -interaction=nonstopmode -view=none -lualatex -shell-escape $file`) + piperun(`latexmk -f -interaction=nonstopmode -view=none -lualatex -shell-escape $texfile`) return true catch err logs = cp(pwd(), mktempdir(); force=true)