diff options
author | tdro <tdro@users.noreply.github.com> | 2022-06-25 01:13:51 -0400 |
---|---|---|
committer | tdro <tdro@users.noreply.github.com> | 2022-06-25 01:13:51 -0400 |
commit | fd031839815d254a222bf67bd5dafdd8cbfb6ec6 (patch) | |
tree | 4942a987f5419769b13c8e3e596db6062adeaeef | |
parent | 58db1bf00136b37ec9389324a3d6049c1b492aed (diff) | |
download | dotfiles-fd031839815d254a222bf67bd5dafdd8cbfb6ec6.tar.gz dotfiles-fd031839815d254a222bf67bd5dafdd8cbfb6ec6.tar.bz2 dotfiles-fd031839815d254a222bf67bd5dafdd8cbfb6ec6.zip |
.local/bin/latex-compile: Allow shell escape
-rwxr-xr-x | .local/bin/latex-compile | 8 |
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 |