From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Lawrence Subject: Re: Exporting LaTeX source blocks with HTML backend Date: Mon, 03 Mar 2014 12:54:32 -0800 Message-ID: <87ha7fovef.fsf@berkeley.edu> References: <5314BF2E.9020102@gmail.com> <87ob1nozlb.fsf@berkeley.edu> <5314DA7A.7030703@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41252) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKZuQ-0000Bn-Bu for emacs-orgmode@gnu.org; Mon, 03 Mar 2014 15:56:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WKZuK-0002dO-T3 for emacs-orgmode@gnu.org; Mon, 03 Mar 2014 15:56:22 -0500 Received: from mail-pb0-f51.google.com ([209.85.160.51]:41712) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKZuK-0002dC-MW for emacs-orgmode@gnu.org; Mon, 03 Mar 2014 15:56:16 -0500 Received: by mail-pb0-f51.google.com with SMTP id uo5so3545046pbc.38 for ; Mon, 03 Mar 2014 12:56:15 -0800 (PST) In-Reply-To: <5314DA7A.7030703@gmail.com> 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: "emacs-orgmode@gnu.org" Xavier Garrido writes: >>> #+BEGIN_SRC latex >>> \begin{align*} >>> x&=x\\ >>> y&=y >>> \end{align*} >>> #+END_SRC >> When I export this using the HTML exporter, the LaTeX code is wrapped in >> a
with class="org-src-container", and the actual code appears >> inside a
 tag.  Is this the behavior you see?  Is that not what you
>> want?

> In my case, the code is not even wrapped into org-src-container class, 
> it just does not appear at all.

Hmm.  If Ista's solution doesn't work for you, you may want to look into
why this is happening.  Maybe you have a variable or option set
somewhere that is suppressing export of these blocks for some reason.  I
am using the "maint" version of the exporter (8.2.5h) and I don't use
HTML export much, so I am pretty sure what I see is the current default
behavior.

Best,
Richard


(If possible, please encrypt your reply to me using my PGP key:
Key ID: CF6FA646
Fingerprint: 9969 43E1 CF6F A646.
See http://www.ocf.berkeley.edu/~rwl/encryption.html for more information.)