Commit: c7325fbd489b5297a1336c9859bb2f5b84f9098d
Parent: 0643878ad9df5497a87f3e14a62c6466994b6e21
Author: Randy Palamar
Date: Fri, 21 Oct 2022 19:44:31 -0600
vis: build: don't lock up on pdflatex error
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.config/vis/build.lua b/.config/vis/build.lua
@@ -5,13 +5,13 @@ function build_files(win)
function build_tex(f)
-- build pdf
- vis:command(string.format('!pdflatex %s.tex >/dev/null', f))
+ vis:command(string.format('!pdflatex -halt-on-error %s.tex >/dev/null', f))
-- update refrences
vis:command(string.format('!biber %s >/dev/null', f))
-- update glossary
-- vis:command(string.format('!makeglossaries %s >/dev/null', f))
-- build pdf
- vis:command(string.format('!pdflatex %s.tex >/dev/null', f))
+ vis:command(string.format('!pdflatex -halt-on-error %s.tex >/dev/null', f))
-- reload pdf (zathura does this automatically)
-- vis:command('!pkill -HUP mupdf')