From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Blank equation when exported to HTML using dvipng Date: Mon, 28 May 2012 19:12:39 -0400 Message-ID: <2607.1338246759@alphaville> References: <40C7B1BFC291ED4E9D10436D07736A334704954804@EXMAIL7.haas.uc.berkeley.edu> <40C7B1BFC291ED4E9D10436D07736A334704954805@EXMAIL7.haas.uc.berkeley.edu> <29726.1338214100@alphaville> <40C7B1BFC291ED4E9D10436D07736A334704954834@EXMAIL7.haas.uc.berkeley.edu> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:37239) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZ97H-00036n-3E for emacs-orgmode@gnu.org; Mon, 28 May 2012 19:12:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SZ97F-00086I-24 for emacs-orgmode@gnu.org; Mon, 28 May 2012 19:12:46 -0400 Received: from g6t0184.atlanta.hp.com ([15.193.32.61]:27023) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZ97E-00086C-Sz for emacs-orgmode@gnu.org; Mon, 28 May 2012 19:12:44 -0400 In-Reply-To: Message from Richard Stanton of "Mon, 28 May 2012 13:52:23 PDT." <40C7B1BFC291ED4E9D10436D07736A334704954834@EXMAIL7.haas.uc.berkeley.edu> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Richard Stanton Cc: "emacs-orgmode@gnu.org" Richard Stanton 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.