From fd031839815d254a222bf67bd5dafdd8cbfb6ec6 Mon Sep 17 00:00:00 2001 From: tdro Date: Sat, 25 Jun 2022 01:13:51 -0400 Subject: .local/bin/latex-compile: Allow shell escape --- .local/bin/latex-compile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.local/bin/latex-compile b/.local/bin/latex-compile index 9717db0..25f92b6 100755 --- a/.local/bin/latex-compile +++ b/.local/bin/latex-compile @@ -1,8 +1,8 @@ #!/bin/sh -eu if ! { - pdflatex -halt-on-error "$1" \ - || xelatex -halt-on-error "$1"; - } -then cat + pdflatex -shell-escape -halt-on-error "$1" || + xelatex -shell-escape -halt-on-error "$1" +}; then + cat fi -- cgit v1.2.3