diff options
| author | Blista Kanjo | 2023-07-10 02:09:50 -0400 |
|---|---|---|
| committer | Blista Kanjo | 2023-07-10 02:09:50 -0400 |
| commit | c45c7e82006c2f9fe2355e3139985b60ee1aba84 (patch) | |
| tree | c7bb021b672310370ed28607ef7b25690f69f01d | |
| parent | 8d6c778c24ff9c2520627b83835d703769a20b04 (diff) | |
refactor: revert to `pdflatex` engine
| -rw-r--r-- | download.php | 2 | ||||
| -rw-r--r-- | output/header.tex | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/download.php b/download.php index 9db671a..ea0737a 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=xelatex --include-in-header=output/header.tex"; + $conversion = "pandoc -f markdown+hard_line_breaks output/'$convert' -t beamer -o output/'$filename' --pdf-engine=pdflatex --include-in-header=output/header.tex"; shell_exec("echo '$userMarkdown' > output/'$push'"); shell_exec("cat $templateFile output/'$push' > output/'$convert'"); diff --git a/output/header.tex b/output/header.tex index 1ea5a37..e5a5c37 100644 --- a/output/header.tex +++ b/output/header.tex @@ -1,3 +1,2 @@ \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} -\usepackage{fontspec} |
