diff options
| author | Blista Kanjo | 2023-07-10 01:43:34 -0400 |
|---|---|---|
| committer | Blista Kanjo | 2023-07-10 01:43:34 -0400 |
| commit | 653f160abd934f73a0878c68050052c6eede9358 (patch) | |
| tree | 9c0d11bb92955203610e32ef9f8b5f36354118b1 /download.php | |
| parent | 00545062123b3c62a396fd345ac9a037ba7989b1 (diff) | |
feat: more stable compiles with `xelatex` and the header.tex file
Diffstat (limited to 'download.php')
| -rw-r--r-- | download.php | 2 |
1 files changed, 1 insertions, 1 deletions
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'"); |
