From fa56fb6d858e319b27c1314f6a56cb4b9cd239da Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Tue, 6 Nov 2018 12:12:41 -0500 Subject: [PATCH] Use dvisvgm instead of dvipng for org latex preview --- .emacs.d/init.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index fdfc497..cc67704 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -179,7 +179,9 @@ (setq org-special-ctrl-a/e t org-special-ctrl-k t - org-special-ctrl-o t) + org-special-ctrl-o t + org-preview-latex-default-process 'dvisvgm + org-confirm-babel-evaluate nil) ;; enable line wraping (add-hook 'org-mode-hook '(lambda () @@ -197,7 +199,7 @@ (interactive) (with-current-buffer (org-src--source-buffer) (org-latex-export-to-pdf-no-kr))) - (setq org-confirm-babel-evaluate nil) + (org-babel-do-load-languages 'org-babel-load-languages '((emacs-lisp . t)