From 653f160abd934f73a0878c68050052c6eede9358 Mon Sep 17 00:00:00 2001 From: Blista Kanjo Date: Mon, 10 Jul 2023 01:43:34 -0400 Subject: feat: more stable compiles with `xelatex` and the header.tex file --- download.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'download.php') diff --git a/download.php b/download.php index 51cbc91..9db671a 100644 --- a/download.php +++ b/download.php @@ -48,7 +48,7 @@ $filename = $_SESSION["filename"]; // output file name $userMarkdown = $_SESSION["user-input"]; - $conversion = "pandoc -f markdown+hard_line_breaks output/'$convert' -t beamer -o output/'$filename' --pdf-engine=lualatex --include-in-header=output/header.tex"; + $conversion = "pandoc -f markdown+hard_line_breaks output/'$convert' -t beamer -o output/'$filename' --pdf-engine=xelatex --include-in-header=output/header.tex"; shell_exec("echo '$userMarkdown' > output/'$push'"); shell_exec("cat $templateFile output/'$push' > output/'$convert'"); -- cgit v1.2.3