aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/latex-compile
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/latex-compile')
-rwxr-xr-x.local/bin/latex-compile8
1 files 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