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 10:08:20 -0400 [thread overview]
Message-ID: <29726.1338214100@alphaville> (raw)
In-Reply-To: Message from Richard Stanton <stanton@haas.berkeley.edu> of "Sun, 27 May 2012 23:00:17 PDT." <40C7B1BFC291ED4E9D10436D07736A334704954805@EXMAIL7.haas.uc.berkeley.edu>
Richard Stanton <stanton@haas.berkeley.edu> wrote:
> ...
>
> So now I can see what the problem is, but how do I tell org-mode to
> call latex with the -shell-escape flag?
>
You can customize org-latex-to-pdf-process (or
org-e-latex-pdf-process[fn:1] if you are using the new exporter). In my
case, I have
,----
| org-latex-to-pdf-process is a variable defined in `org-latex.el'.
| Its value is ("texi2dvi --pdf %f")
| Original value was
| ("pdflatex -interaction nonstopmode -output-directory %o %f" "pdflatex -interaction nonstopmode -output-directory %o %f" "pdflatex -interaction nonstopmode -output-directory %o %f")
`----
but texi2dvi probably does not exist on windows (and you still have to
patch it even on linux). Just add --shell-escape after every pdflatex
(or whatever command is invoked on windows).
Nick
Footnotes:
[fn:1] NB: different spelling in the two cases - not only the added "e-" but
also the missing "-to".
next prev parent reply other threads:[~2012-05-28 14:08 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 [this message]
2012-05-28 20:52 ` Richard Stanton
2012-05-28 23:12 ` Nick Dokos
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=29726.1338214100@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.