Update 16.08.2023

This commit is contained in:
Kristofers Solo
2023-08-16 00:17:26 +03:00
parent 49c7b19348
commit d13fcef806
45 changed files with 2961 additions and 379 deletions

View File

@@ -20,9 +20,9 @@ cd "$dir" || exit 1
textype() {
textarget="$(getcomproot "$file" || echo "$file")"
echo "$textarget"
command="luatex"
(head -n5 "$textarget" | grep -qi "xelatex") && command="xelatex"
$command --output-directory="${textarget%/*}" "${textarget%.*}"
command="xelatex"
(head -n5 "$textarget" | grep -qi "pdflatex") && command="pdflatex"
$command -shell-escape --output-directory="${textarget%/*}" "${textarget%.*}"
grep -qi addbibresource "$textarget" &&
biber --input-directory "${textarget%/*}" "${textarget%.*}" &&
$command --output-directory="${textarget%/*}" "${textarget%.*}" &&