diff options
Diffstat (limited to '.local/bin/compiler')
-rwxr-xr-x | .local/bin/compiler | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/.local/bin/compiler b/.local/bin/compiler index e6a6db3..5754848 100755 --- a/.local/bin/compiler +++ b/.local/bin/compiler @@ -13,13 +13,13 @@ base="${file%.*}" cd "$dir" || exit textype() { - command="pdflatex" - (sed 5q "$file" | grep -i -q 'xelatex') && command="xelatex" - $command --output-directory="$dir" "$base" && - grep -i addbibresource "$file" >/dev/null && - biber --input-directory "$dir" "$base" && - $command --output-directory="$dir" "$base" && - $command --output-directory="$dir" "$base" + command="pdflatex" + (sed 5q "$file" | grep -i -q 'xelatex') && command="xelatex" + $command --output-directory="$dir" "$base" && + grep -i addbibresource "$file" >/dev/null && + biber --input-directory "$dir" "$base" && + $command --output-directory="$dir" "$base" && + $command --output-directory="$dir" "$base" } case "$file" in |