Use dvisvgm instead of dvipng for org latex preview

This commit is contained in:
Adam Goldsmith 2018-11-06 12:12:41 -05:00
parent 9560dfeb33
commit fa56fb6d85

View File

@ -179,7 +179,9 @@
(setq org-special-ctrl-a/e t (setq org-special-ctrl-a/e t
org-special-ctrl-k 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 ;; enable line wraping
(add-hook 'org-mode-hook '(lambda () (add-hook 'org-mode-hook '(lambda ()
@ -197,7 +199,7 @@
(interactive) (interactive)
(with-current-buffer (org-src--source-buffer) (with-current-buffer (org-src--source-buffer)
(org-latex-export-to-pdf-no-kr))) (org-latex-export-to-pdf-no-kr)))
(setq org-confirm-babel-evaluate nil)
(org-babel-do-load-languages (org-babel-do-load-languages
'org-babel-load-languages 'org-babel-load-languages
'((emacs-lisp . t) '((emacs-lisp . t)