From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xavier Garrido Subject: Re: Exporting LaTeX source blocks with HTML backend Date: Tue, 04 Mar 2014 00:33:39 +0100 Message-ID: <53151153.4010902@gmail.com> References: <5314BF2E.9020102@gmail.com> <87ob1nozlb.fsf@berkeley.edu> <5314DA7A.7030703@gmail.com> <87ha7fovef.fsf@berkeley.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45978) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKcMe-0006uy-Ib for emacs-orgmode@gnu.org; Mon, 03 Mar 2014 18:33:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WKcMZ-0001my-L9 for emacs-orgmode@gnu.org; Mon, 03 Mar 2014 18:33:40 -0500 Received: from mail-we0-x235.google.com ([2a00:1450:400c:c03::235]:62793) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKcMZ-0001lv-FY for emacs-orgmode@gnu.org; Mon, 03 Mar 2014 18:33:35 -0500 Received: by mail-we0-f181.google.com with SMTP id q58so3951484wes.26 for ; Mon, 03 Mar 2014 15:33:34 -0800 (PST) In-Reply-To: <87ha7fovef.fsf@berkeley.edu> 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: Richard Lawrence , Xavier Garrido Cc: "emacs-orgmode@gnu.org" Le 03/03/2014 21:54, Richard Lawrence a écrit : > 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.

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

Cheers,
Xavier
>
> 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.)
>