From c8d88c06c81f2e6102a22ab98aa28610da9ed86b Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Sat, 11 Jun 2022 11:42:10 +0200 Subject: Set a variable for the latex engine used by toPDF.sh --- pdfs/toPDF.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pdfs') 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 -- cgit v1.2.1