diff options
| author | kj_sh604 | 2023-07-09 20:12:06 -0400 |
|---|---|---|
| committer | kj_sh604 | 2023-07-09 20:12:06 -0400 |
| commit | 00545062123b3c62a396fd345ac9a037ba7989b1 (patch) | |
| tree | 471bedcb1e0b52ac2e9114936abc28a705dd7c01 | |
| parent | 80040cdfdc7fbc66c782a58b0f383465c676913d (diff) | |
feat: added `header.tex` in attempt to still utilize original pdflatex engine
| -rw-r--r-- | download.php | 2 | ||||
| -rw-r--r-- | output/header.tex | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/download.php b/download.php index 530b52d..51cbc91 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"; + $conversion = "pandoc -f markdown+hard_line_breaks output/'$convert' -t beamer -o output/'$filename' --pdf-engine=lualatex --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 new file mode 100644 index 0000000..2dcb452 --- /dev/null +++ b/output/header.tex @@ -0,0 +1,3 @@ +\usepackage[utf8]{inputenc} +\usepackage[T1]{fontenc} +\usepackage{emoji} |
