From f63038ff8d251061ffaada9161a002d48e595f53 Mon Sep 17 00:00:00 2001 From: Felix Van der Jeugt Date: Mon, 3 Jun 2019 10:22:56 +0200 Subject: [PATCH] use tectonic and quote path --- config/vis/visrc.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/vis/visrc.lua b/config/vis/visrc.lua index 7c53916..dbe6cdc 100644 --- a/config/vis/visrc.lua +++ b/config/vis/visrc.lua @@ -47,8 +47,9 @@ interactives = { ["python"] = "!python -i $vis_filename", ["haskell"] = "!stack ghci $vis_filepath", ["lithaskell"] = "!stack ghci $vis_filepath", - ["latex"] = "!pdflatex $vis_filepath", + ["latex"] = "!tectonic '$vis_filepath'", } + vis:map(vis.modes.NORMAL, ";i", function() local command = interactives[vis.win.syntax] if command then