Richard Stanton <stan...@haas.berkeley.edu> wrote: > In my init.el, I have > > (setq org-latex-to-pdf-process > '("pdflatex -shell-escape -interaction nonstopmode -output-directory %o > %f" > "pdflatex -shell-escape -interaction nonstopmode -output-directory %o > %f" > "pdflatex -shell-escape -interaction nonstopmode -output-directory %o > %f" > "pdflatex -shell-escape -interaction nonstopmode -output-directory %o > %f")) > > The problem is that when I export to HTML with the dvipng option, it's > calling latex, not pdflatex, so I don't think this option has an effect. >
Ah, right: that's hardwired and needs source code changes. The call is in org.el:org-create-formula-image-with-dvipng. This was reported by Ista Zahn (see http://thread.gmane.org/gmane.emacs.orgmode/50533). I would encourage you to submit a patch for this[fn:1] - maybe make it conditional on the value of org-export-latex-listings. Nick Footnotes: [fn:1] Unfortunately I cannot.