Don't fontify latex natively (use simple highlights)

Native fontification is incredibly slow.
This commit is contained in:
Henrik Lissner 2020-01-20 18:12:50 -05:00
parent 522c532893
commit e3187ca8ea
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -122,8 +122,8 @@ path too.")
org-refile-use-outline-path 'file
org-outline-path-complete-in-steps nil)
;; Fontify latex blocks and entities natively
(setq org-highlight-latex-and-related '(native script entities))
;; Fontify latex blocks and entities, but not natively -- that's too slow
(setq org-highlight-latex-and-related '(latex script entities))
(plist-put! org-format-latex-options
:scale 1.5 ; larger previews
:foreground 'auto ; match the theme foreground