Hi Ihor,

> Thanks!
> Applied, onto main, after small changes to the commit message and the
> NEWS entry.
> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=f30f6dc4bc

I'm working on merging org-latex-preview again, and noticed that there
is a new "xelatex" entry in org-preview-latex-process-alist introduced
in this patch.  In the patchset we are providing this is unnecessary
because setting org-latex-compiler to xelatex is all that is required to
generate previews correctly.

I think this is the correct way to handle it -- notice that the
possible preview methods right now are dvipng, dvisvgm, imagemagick and
xelatex -- one of these is not like the others!

The choice of the latex compiler should be independent of the choice of
the image converter, and if a combination is unsupported Org mode should
inform the user of this.  The patchset handles this correctly, and
handles previews with lualatex as well.

Just a heads-up that the "xelatex" option will be removed from this
list.  Some of the changes made to ox-odt as a result of this change
will be reverted as well.  If there's some reason why this shouldn't
happen please let me know.

Karthik


Reply via email to