Hello, Florian Beck writes: > `org-create-formula-image-with-imagemagick' doesn't handle the case that > `org-latex-pdf-process' is set to a function. > > To reproduce: > > - set `org-latex-pdf-process' to a function > - (setq org-latex-create-formula-image-program 'imagemagick) > this makes preview fail > - set #+OPTIONS: latex:imagemagick => html export broken > > However, just calling this function from > `org-create-formula-image-with-imagemagick' would not be a good idea. > How about adding a new variable `org-latex-formula-pdf-process'? What about re-using the existing tool from "ox-latex.el"? What do you think of the following patch? Regards, -- Nicolas Goaziou