Certain LaTeX environments, like figure, are catastrophically broken when previewed with org-latex-preview. At the same time, there is no way to avoid previewing these environments (with or without auto-mode). Should we add a blocklist for environments with sensible defaults?
Of course, the user can use Org blocks #+begin_figure ... #+end_figure to avoid this. But it's going to be an upleasant surprise to Org users who liberally sprinkle LaTeX envs in their Org documents.
(I'm ambivalent about this, because I don't want to add yet more string-matching to each preview run.)
Certain LaTeX environments, like
figure
, are catastrophically broken when previewed with org-latex-preview. At the same time, there is no way to avoid previewing these environments (with or without auto-mode). Should we add a blocklist for environments with sensible defaults?Of course, the user can use Org blocks
#+begin_figure ... #+end_figure
to avoid this. But it's going to be an upleasant surprise to Org users who liberally sprinkle LaTeX envs in their Org documents.(I'm ambivalent about this, because I don't want to add yet more string-matching to each preview run.)