From mboxrd@z Thu Jan  1 00:00:00 1970
From: tsd@tsdye.com (Thomas S. Dye)
Subject: Re: Problems exporting LaTeX source code
Date: Tue, 19 Mar 2013 07:04:20 -1000
Message-ID: <m18v5jmicr.fsf@tsdye.com>
References: <CD6DE250.14009%stanton@haas.berkeley.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org>
Received: from eggs.gnu.org ([208.118.235.92]:36968)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <tsd@tsdye.com>) id 1UHzy6-0003hR-CN
	for emacs-orgmode@gnu.org; Tue, 19 Mar 2013 13:05:03 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <tsd@tsdye.com>) id 1UHzy4-0006XC-Sb
	for emacs-orgmode@gnu.org; Tue, 19 Mar 2013 13:04:58 -0400
Received: from oproxy1-pub.bluehost.com ([66.147.249.253]:39699)
	by eggs.gnu.org with smtp (Exim 4.71) (envelope-from <tsd@tsdye.com>)
	id 1UHzy4-0006WD-H1
	for emacs-orgmode@gnu.org; Tue, 19 Mar 2013 13:04:56 -0400
In-Reply-To: <CD6DE250.14009%stanton@haas.berkeley.edu> (Richard Stanton's
	message of "Tue, 19 Mar 2013 16:37:27 +0000")
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=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 Stanton <stanton@haas.berkeley.edu>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>

Richard Stanton <stanton@haas.berkeley.edu> writes:

> Using org mode version 8.0-pre (release_8.0-pre-91-g437c62), I'm having
> trouble exporting LaTeX lists (itemize, description). Here's a sample fil=
e:
>
> #+title: Sample org file
> * Section 1
> Some LaTeX source:
> #+begin_src latex :exports source
> \begin{itemize}
> \item Item 1
> \item Item 2
> \end{itemize}
> #+end_src
>
>
>
> 1) When I export this to HTML, I get a box showing "\begin{itemize}" but
> the rest of the box is blank.
>
> 2) When I export to LaTeX/PDF, I get something like (this is cut and
> pasted from the PDF file):
>
> Some LATEX source:=20
> [frame=3Dlines,fontsize=3D,linenos]latex
> =E2=82=AC Item 1=20
> =E2=82=AC Item 2
>
>
> In other words, it looks like the LaTeX source is actually being compiled,
> and some internal org-mode exporter options look like they're being
> exported to the PDF file.
>
> Am I doing something wrong here?

Perhaps.  I don't see =3Dsource=3D on the list of :exports header arguments.
If you change =3Dsource=3D to =3Dcode=3D does it work?

hth,
Tom

--=20
Thomas S. Dye
http://www.tsdye.com