From 0e68fe677904722ed373fba9b238604475123301 Mon Sep 17 00:00:00 2001 From: Marcus Kammer Date: Thu, 16 Jan 2025 20:29:10 +0100 Subject: [PATCH] Update latex commands --- init.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 7ae99b43..3e2bf54c 100755 --- a/init.el +++ b/init.el @@ -1756,10 +1756,13 @@ Uses `mk/hyperspec-dir-locations' to find the directory." ;; Define custom LaTeX class with specific formatting (setq mk/latex-toc-command - "\\tableofcontents\\n\\listoffigures\\n\\listoftables\\n\\lstlistoflistings\\clearpage + "\\tableofcontents\\clearpage\\listoffigures\\listoftables\\lstlistoflistings\\clearpage ") (with-eval-after-load 'ox-latex + (setq org-latex-title-command + "\\TitlePage{logo.png} +") (setq org-latex-packages-alist nil) (setq org-latex-default-packages-alist '(("AUTO" "polyglossia" t ("xelatex" "lualatex")))) (setq org-latex-pdf-process '("latexmk -lualatex -shell-escape -quiet -f %f"))