From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Exporting LaTeX source blocks with HTML backend Date: Sat, 8 Mar 2014 11:39:13 +0000 Message-ID: <87ha78ex7i.fsf@ucl.ac.uk> References: <5314BF2E.9020102@gmail.com> <87ob1nozlb.fsf@berkeley.edu> <5314DA7A.7030703@gmail.com> <87ha7fovef.fsf@berkeley.edu> <53151153.4010902@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51701) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMFbH-00065a-5R for emacs-orgmode@gnu.org; Sat, 08 Mar 2014 06:39:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WMFb6-0006J0-F7 for emacs-orgmode@gnu.org; Sat, 08 Mar 2014 06:39:31 -0500 Received: from mail-db3lp0077.outbound.protection.outlook.com ([213.199.154.77]:52024 helo=emea01-db3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMFb6-0006Io-62 for emacs-orgmode@gnu.org; Sat, 08 Mar 2014 06:39:20 -0500 In-Reply-To: <53151153.4010902@gmail.com> (Xavier Garrido's message of "Tue, 4 Mar 2014 00:33:39 +0100") 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: Xavier Garrido Cc: Richard Lawrence , "emacs-orgmode@gnu.org" Xavier Garrido 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