Fix org latex preview

This commit is contained in:
Alexander Rosenberg 2024-05-14 02:06:00 -07:00
parent efefb75289
commit 5130656116
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

10
init.el
View File

@ -1182,7 +1182,15 @@ If no name is given, list all bookmarks instead."
org-log-into-drawer t
org-log-done 'time
org-log-redeadline 'time
org-log-reschedule 'time))
org-log-reschedule 'time
org-preview-latex-default-process 'dvisvgm
org-preview-latex-process-alist
'((dvisvgm
:image-input-type "dvi"
:image-output-type "svg"
:image-size-adjust (1.7 . 1.5)
:latex-compiler ("pdflatex -interaction nonstopmode -output-format=dvi -output-directory=%o %f")
:image-converter ("dvisvgm %o%b.dvi --no-fonts --exact-bbox --scale=%S --output=%O")))))
(use-package evil-org
:after org
:hook (org-mode . evil-org-mode)