From bab05aa50837df54aaf4b70dce02ecdfc71526cf Mon Sep 17 00:00:00 2001 From: Daneel Date: Mon, 23 Feb 2026 18:44:39 +0100 Subject: [PATCH] =?UTF-8?q?fix(latex):=20switch=20to=20LuaLaTeX=20?= =?UTF-8?q?=E2=80=94=20nativn=C3=AD=20Unicode,=20=C5=BE=C3=A1dn=C3=A9=20in?= =?UTF-8?q?putenc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/config.el b/config.el index d4d7649..aa04504 100644 --- a/config.el +++ b/config.el @@ -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"))) ;;; ============================================================