mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-01-30 09:48:11 +01:00
Update compiler
This commit is contained in:
parent
aad277f071
commit
859ca43c2c
@ -39,7 +39,7 @@ case "${ext}" in
|
||||
scad) openscad -o "${base}.stl" "${file}" ;;
|
||||
sent) setsid -f sent "${file}" 2> "/dev/null" ;;
|
||||
tex)
|
||||
textarget="$(get_comp_root.sh "${file}" || echo "${file}")"
|
||||
textarget="$(getcomproot "${file}" || echo "${file}")"
|
||||
command="pdflatex"
|
||||
head -n5 "${textarget}" | grep -qi "xelatex" && command="xelatex"
|
||||
${command} --output-directory="${textarget%/*}" "${textarget%.*}" &&
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user