feat(emacs): add latex packages and configure pandoc for pdf generation

This commit is contained in:
Alexandre Cavalheiro S. Tiago da Silva 2025-05-10 06:53:56 -03:00
parent b971a7b58e
commit 3f5a9a6cf9
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF
2 changed files with 9 additions and 0 deletions

View file

@ -13,6 +13,7 @@
fd
pandoc # For org-pandoc
texliveFull # for latex conversions
(aspellWithDicts (
dicts: with dicts; [
en

View file

@ -101,3 +101,11 @@
;; Configure elfeed-org
(setq rmh-elfeed-org-files '("/home/wizardlink/Documents/notes/elfeed.org"))
;; Set CLI options for ox-pandoc when generating PDFs from LaTeX,
;; ensuring that `latexmk` is used so we have proper citations.
(use-package ox-pandoc
:init
(setq org-pandoc-options-for-latex-pdf '((pdf-engine . "latexmk")
(pdf-engine-opt . "-bibtex")
(biblatex . t))))