fix(latex): switch to LuaLaTeX — nativní Unicode, žádné inputenc

This commit is contained in:
2026-02-23 18:44:39 +01:00
parent eee626cf65
commit bab05aa508

View File

@@ -371,11 +371,12 @@ Bound to cmd+v in org-mode and markdown-mode."
;; Optional: enable booktabs style (horizontal rules in tables)
;; (setq org-latex-tables-booktabs t)
;; Ensure latexmk doesn't hang on errors (nonstopmode + force-continue)
;; Doom latex module usually sets this, but belt+suspenders for macOS.
;; LuaLaTeX — nativní Unicode, žádné inputenc workaroundy.
;; -lualatex implicitně generuje PDF; -pdf (-pdflatex) se NEpoužívá.
(after! org
(setq org-latex-pdf-process
'("latexmk -f -pdf -%latex -interaction=nonstopmode -output-directory=%o %f")))
(setq org-latex-compiler "lualatex"
org-latex-pdf-process
'("latexmk -f -lualatex -interaction=nonstopmode -output-directory=%o %f")))
;;; ============================================================