From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: [Babel] LaTeX code not exported Date: Tue, 14 Dec 2010 01:56:13 -0700 Message-ID: <87fwu0pwb6.fsf@gmail.com> References: <87y67yhp6q.fsf@mundaneum.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=55395 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PSQgN-0001Tt-F9 for emacs-orgmode@gnu.org; Tue, 14 Dec 2010 03:56:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PSQgG-0005cb-E4 for emacs-orgmode@gnu.org; Tue, 14 Dec 2010 03:56:27 -0500 Received: from mail-iy0-f169.google.com ([209.85.210.169]:53179) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PSQgG-0005cT-9h for emacs-orgmode@gnu.org; Tue, 14 Dec 2010 03:56:20 -0500 Received: by iyj17 with SMTP id 17so232950iyj.0 for ; Tue, 14 Dec 2010 00:56:19 -0800 (PST) In-Reply-To: <87y67yhp6q.fsf@mundaneum.com> (Francesco Pizzolante's message of "Thu, 09 Dec 2010 17:43:41 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Francesco Pizzolante Cc: mailing-list-org-mode Hi Francesco, The code snippet below *is* exporting however for LaTeX code blocks the default results type is ":results latex", try setting the results type to ":results scalar" and you should see the expected export behavior. Best -- Eric e.g. #+begin_src latex :results scalar \documentclass{article} #+end_src Francesco Pizzolante writes: > Hi, > > LaTeX code blocks are ignored when exporting to HTML or PDF. > > The following Org example: > > #+TITLE: Test export LaTeX > #+BABEL: :exports code > > #+begin_src latex > \documentclass{article} > #+end_src > > Gives the following HTML result: > > >
> >

Test export LaTeX

> > >
>

Table of Contents

> >
> >
>

1 This is a simple test

>
> > >
>
>
>

Author: Francesco Pizzolante >

>

Date: 2010-12-09 17:41:54

>
>
> > > 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@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode