From 95b6d3458099846fc8f09de6996b1a13940c8f3d Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Sun, 2 May 2021 19:38:09 +0200 Subject: [PATCH] config/doom: fix plantuml config --- .config/doom/config.el | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.config/doom/config.el b/.config/doom/config.el index 4a5a332..b015728 100644 --- a/.config/doom/config.el +++ b/.config/doom/config.el @@ -242,7 +242,7 @@ (setq org-ellipsis "↴") ;; Exporting - https://orgmode.org/manual/Export-Settings.html -(setq org-latex-pdf-process '("latexmk -outdir=/tmp/latexmk -f -pdf %F; mv %f /tmp/latexmk; mv /tmp/latexmk/%b.pdf %o")) ; https://emacs.stackexchange.com/a/48351 +(setq org-latex-pdf-process '("latexmk -shell-escape -outdir=/tmp/latexmk -f -pdf %F; mv %f /tmp/latexmk; mv /tmp/latexmk/%b.pdf %o")) ; https://emacs.stackexchange.com/a/48351 (setq org-latex-packages-alist '(("margin=2cm" "geometry") ("avoid-all" "widows-and-orphans"))) (setq org-export-with-tags nil) (setq org-export-with-tasks 'done) @@ -319,17 +319,13 @@ :config (setq plantuml-executable-path "nostderr" plantuml-executable-args '("plantuml" "-headless") - plantuml-default-exec-mode 'executable + plantuml-default-exec-mode 'jar plantuml-jar-path "/usr/share/java/plantuml/plantuml.jar" org-plantuml-jar-path plantuml-jar-path plantuml-java-args '("-Djava.awt.headless=true" "-jar") ) (after! org - (add-to-list 'org-src-lang-modes '("plantuml" . plantuml)) - (org-babel-do-load-languages - 'org-babel-load-languages - '(other Babel languages (plantuml . t)) - ) + (org-babel-do-load-languages 'org-babel-load-languages '((plantuml . t))) ) ) (use-package! adoc-mode ; Asciidoc, a md alternative