From 859ca43c2cf137f152663b7fab60da1f30a23c83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emre=20AKY=C3=9CZ?= Date: Sun, 7 Jan 2024 13:32:55 +0300 Subject: [PATCH] Update compiler --- .local/bin/compiler | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/compiler b/.local/bin/compiler index 4a6702a1..57135906 100755 --- a/.local/bin/compiler +++ b/.local/bin/compiler @@ -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%.*}" &&