aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2022-06-11 11:42:10 +0200
committerInigoGutierrez <inigogf.95@gmail.com>2022-06-11 11:42:10 +0200
commitc8d88c06c81f2e6102a22ab98aa28610da9ed86b (patch)
tree8c7e20af96abfd629517d6e2b1cbd5dcb7f5ff8c
parentcc85b11ebd8e1fed3127506d65448296c754279e (diff)
downloadscripts-c8d88c06c81f2e6102a22ab98aa28610da9ed86b.tar.gz
scripts-c8d88c06c81f2e6102a22ab98aa28610da9ed86b.zip
Set a variable for the latex engine used by toPDF.sh
-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