emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Richard Stanton <stanton@haas.berkeley.edu>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Blank equation when exported to HTML using dvipng
Date: Mon, 28 May 2012 19:12:39 -0400	[thread overview]
Message-ID: <2607.1338246759@alphaville> (raw)
In-Reply-To: Message from Richard Stanton <stanton@haas.berkeley.edu> of "Mon, 28 May 2012 13:52:23 PDT." <40C7B1BFC291ED4E9D10436D07736A334704954834@EXMAIL7.haas.uc.berkeley.edu>

Richard Stanton <stanton@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.

      reply	other threads:[~2012-05-28 23:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-28  5:43 Blank equation when exported to HTML using dvipng Richard Stanton
     [not found] ` <CALnw1fQHCHqH5JBdqbTTwvRq9AR8dL2OHPwbpwug1J4iuBW6=A@mail.gmail.com>
2012-05-28  6:00   ` Richard Stanton
2012-05-28 14:08     ` Nick Dokos
2012-05-28 20:52       ` Richard Stanton
2012-05-28 23:12         ` Nick Dokos [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2607.1338246759@alphaville \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=stanton@haas.berkeley.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).