From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Exporting LaTeX source blocks with HTML backend Date: Fri, 7 Mar 2014 21:37:36 +0000 Message-ID: <87zjl16673.fsf@ucl.ac.uk> References: <5314BF2E.9020102@gmail.com> <87ob1nozlb.fsf@berkeley.edu> <5314DA7A.7030703@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42550) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WM2Sk-0005b9-Ea for emacs-orgmode@gnu.org; Fri, 07 Mar 2014 16:37:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WM2Sc-0001bq-TW for emacs-orgmode@gnu.org; Fri, 07 Mar 2014 16:37:50 -0500 Received: from mail-am1lp0015.outbound.protection.outlook.com ([213.199.154.15]:2425 helo=emea01-am1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WM2Sc-0001bd-L9 for emacs-orgmode@gnu.org; Fri, 07 Mar 2014 16:37:42 -0500 In-Reply-To: (Ista Zahn's message of "Mon, 3 Mar 2014 14:55:27 -0500") 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: Ista Zahn Cc: "emacs-orgmode@gnu.org" Ista Zahn writes: > Hi Xavier, > > I think > > #+begin_src latex :results drawer :exports results > \begin{align*} > x&=x\\ > y&=y > \end{align*} > #+end_src > > will give both syntax highlighting (in the code block) as well as > properly displayed equations in both latex and html export. This doesn't work for me in HTML. I get the code exported as is, not the actual equations. You must have some other configuration settings that allow for this? For this to work for me, I have to invoke conditional entries for :results and for :exports to create an image for HTML. I would love to hear what HTML and what Latex you get generated with the above. thanks, eric -- : Eric S Fraga (0xFFFCF67D), Emacs 24.3.50.2, Org release_8.2.5h-683-ga85683