From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Xavier Garrido <xavier.garrido@gmail.com>
Cc: Richard Lawrence <richard.lawrence@berkeley.edu>,
"emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Exporting LaTeX source blocks with HTML backend
Date: Sat, 8 Mar 2014 11:39:13 +0000 [thread overview]
Message-ID: <87ha78ex7i.fsf@ucl.ac.uk> (raw)
In-Reply-To: <53151153.4010902@gmail.com> (Xavier Garrido's message of "Tue, 4 Mar 2014 00:33:39 +0100")
Xavier Garrido <xavier.garrido@gmail.com> writes:
[...]
> The non export is due to this setup
>
> #+BEGIN_SRC emacs-lisp
> (org-babel-do-load-languages
> 'org-babel-load-languages
> '((emacs-lisp . t)
> (latex . t)))
> #+END_SRC
Actually, this wasn't enough for me (I already had both of these
enabled). The problem, in my case, was that I had org-html-with-latex
set to t (the default, I guess) which relies on mathjax. If you want an
image created, this needs to be set to either 'dvipng or 'imagemagick or
via tex: option in the org file.
--
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.50.2, Org release_8.2.5h-683-ga85683
prev parent reply other threads:[~2014-03-08 11:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-03 17:43 Exporting LaTeX source blocks with HTML backend Xavier Garrido
2014-03-03 19:24 ` Richard Lawrence
2014-03-03 19:39 ` Xavier Garrido
2014-03-03 19:55 ` Ista Zahn
2014-03-03 23:31 ` Xavier Garrido
2014-03-07 21:37 ` Eric S Fraga
2014-03-03 20:54 ` Richard Lawrence
2014-03-03 23:33 ` Xavier Garrido
2014-03-08 11:39 ` Eric S Fraga [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=87ha78ex7i.fsf@ucl.ac.uk \
--to=e.fraga@ucl.ac.uk \
--cc=emacs-orgmode@gnu.org \
--cc=richard.lawrence@berkeley.edu \
--cc=xavier.garrido@gmail.com \
/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).