emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [Babel] LaTeX code not exported
@ 2010-12-09 16:43 Francesco Pizzolante
  2010-12-14  8:56 ` Eric Schulte
  0 siblings, 1 reply; 2+ messages in thread
From: Francesco Pizzolante @ 2010-12-09 16:43 UTC (permalink / raw)
  To: mailing-list-org-mode

Hi,

LaTeX code blocks are ignored when exporting to HTML or PDF.

The following Org example:

--8<---------------cut here---------------start------------->8---
#+TITLE: Test export LaTeX
#+BABEL: :exports code

#+begin_src latex
\documentclass{article}
#+end_src
--8<---------------cut here---------------end--------------->8---

Gives the following HTML result:

--8<---------------cut here---------------start------------->8---
<body>
<div id="content">

<h1 class="title">Test export LaTeX</h1>


<div id="table-of-contents">
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#sec-1">1 This is a simple test</a></li>
</ul>
</div>
</div>

<div id="outline-container-1" class="outline-2">
<h2 id="sec-1"><span class="section-number-2">1</span> This is a simple test</h2>
<div class="outline-text-2" id="text-1">


</div>
</div>
<div id="postamble">
<p class="author"> Author: Francesco Pizzolante
</p>
<p class="date"> Date: 2010-12-09 17:41:54 </p>
</div>
</div>
</body>
--8<---------------cut here---------------end--------------->8---

Is this a bug? Do I miss an option somewhere?

Any help is welcome.

Regards,
Francesco

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-12-14  8:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-09 16:43 [Babel] LaTeX code not exported Francesco Pizzolante
2010-12-14  8:56 ` Eric Schulte

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).