aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpdfs/toPDF.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pdfs/toPDF.sh b/pdfs/toPDF.sh
index 2c520a4..cfc9863 100755
--- a/pdfs/toPDF.sh
+++ b/pdfs/toPDF.sh
@@ -37,7 +37,7 @@ case "$extension" in
[ -f "$plantUmlScriptPath" ] && [ -n "$PLANTUML" ] &&
grep '```{\.plantuml' "$sourceFile" >/dev/null
plantUmlCode="--lua-filter $plantUmlScriptPath"
- pandoc --pdf-engine=xelatex "$sourceFile" $plantUmlCode -o "$targetFile" > ~/logs/toPDF.log
+ pandoc --pdf-engine="$texengine" "$sourceFile" $plantUmlCode -o "$targetFile" > ~/logs/toPDF.log
;;
esac