Update latex commands

This commit is contained in:
Marcus Kammer 2025-01-16 20:29:10 +01:00
parent 5447360ced
commit 0e68fe6779
Signed by: marcuskammer
GPG key ID: C374817BE285268F

View file

@ -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"))