aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2022-06-25 01:13:51 -0400
committertdro <tdro@users.noreply.github.com>2022-06-25 01:13:51 -0400
commitfd031839815d254a222bf67bd5dafdd8cbfb6ec6 (patch)
tree4942a987f5419769b13c8e3e596db6062adeaeef
parent58db1bf00136b37ec9389324a3d6049c1b492aed (diff)
downloaddotfiles-fd031839815d254a222bf67bd5dafdd8cbfb6ec6.tar.gz
dotfiles-fd031839815d254a222bf67bd5dafdd8cbfb6ec6.tar.bz2
dotfiles-fd031839815d254a222bf67bd5dafdd8cbfb6ec6.zip
.local/bin/latex-compile: Allow shell escape
-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