Ihor Radchenko <yanta...@posteo.net> writes: > Michael <sp...@runbox.com> writes: > >>> ... >>> So, it makes sense for `org-babel-execute:latex' to override >>> `org-preview-latex-default-process' temporarily, to something >>> actually >>> generating .png file. >> >> Sorry-- got sidetracked by something else. I see what you >> mean. OK, so the proposal is: change the ".png" branch in >> `org-babel-execute:latex' to override `org-preview-process-alist' >> with something that will: >> >> - actually produce a PNG formatted file >> - by default, run latex more than once, tho this could of >> - course be customized > > May you prepare a patch?
I now changed the defaults for ob-latex on main. Either latexmk is used or latex is executed trice. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=c426f4936 -- Ihor Radchenko // yantar92, Org mode contributor, 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>