diff --git a/+org.el b/+org.el index b63e4b1..c524827 100644 --- a/+org.el +++ b/+org.el @@ -69,8 +69,10 @@ ("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))) -;; Enable listings for LaTeX export -(setq org-latex-listings 't) +;; Prettify code block export +(use-package! engrave-faces-latex + :after ox-latex) +(setq org-latex-src-block-backend 'engraved) ;; Set up bibliography management (setq citar-bibliography '("~/Documents/Education/Bibliography/references.bib")) ;; Add citeproc and metadata-file options to ox-pandoc diff --git a/packages.el b/packages.el index 070e861..06bf062 100644 --- a/packages.el +++ b/packages.el @@ -10,3 +10,4 @@ (package! wallabag :recipe (:host github :repo "chenyanming/wallabag.el" :files ("*.el" "*.alist" "*.css"))) (package! elfeed-protocol) (package! magit-delta) +(package! engrave-faces)