emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Exporting LaTeX source blocks with HTML backend


From: Xavier Garrido
Subject: Re: [O] Exporting LaTeX source blocks with HTML backend
Date: Tue, 04 Mar 2014 00:33:39 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

Le 03/03/2014 21:54, Richard Lawrence a écrit :
Xavier Garrido <address@hidden> 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 <div> with class="org-src-container", and the actual code appears
inside a <pre> 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.)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]