Benjamin Slade <sl...@lambda-y.net> writes: > I had `org-highlight-latex-and-related' set to `'(latex script))' and > found that this (which triggers the running of > `org-do-latex-and-related' ) seems to incur quite significant > performance hits, especially with large Org files. (Even moreso, I > think, if they have lots of headings - > <https://github.com/jdtsmith/shakespeare.org> is a good example for > this.)
Confirmed. `org-latex-and-related-regexp' is not optimal. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>