Skip to content

Commit

Permalink
file -> texfile
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikekre committed Dec 2, 2018
1 parent b6e5d3e commit 11407f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Writers/LaTeXWriter.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 11407f5

Please sign in to comment.