mirror of
https://github.com/kristoferssolo/solorice.git
synced 2026-02-04 14:42:04 +00:00
Update 16.08.2023
This commit is contained in:
@@ -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%.*}" &&
|
||||
|
||||
Reference in New Issue
Block a user