diff options
author | InigoGutierrez <inigogf.95@gmail.com> | 2022-06-11 11:42:10 +0200 |
---|---|---|
committer | InigoGutierrez <inigogf.95@gmail.com> | 2022-06-11 11:42:10 +0200 |
commit | c8d88c06c81f2e6102a22ab98aa28610da9ed86b (patch) | |
tree | 8c7e20af96abfd629517d6e2b1cbd5dcb7f5ff8c /pdfs/toPDF.sh | |
parent | cc85b11ebd8e1fed3127506d65448296c754279e (diff) | |
download | scripts-c8d88c06c81f2e6102a22ab98aa28610da9ed86b.tar.gz scripts-c8d88c06c81f2e6102a22ab98aa28610da9ed86b.zip |
Set a variable for the latex engine used by toPDF.sh
Diffstat (limited to 'pdfs/toPDF.sh')
-rwxr-xr-x | pdfs/toPDF.sh | 2 |
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 |