From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ulf Stegemann Subject: Bug: LaTeX export and LaTeX environment Date: Wed, 19 May 2010 08:34:27 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=36044 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OEcrb-0002ML-MS for emacs-orgmode@gnu.org; Wed, 19 May 2010 02:34:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OEcrZ-0001M1-B7 for emacs-orgmode@gnu.org; Wed, 19 May 2010 02:34:43 -0400 Received: from lo.gmane.org ([80.91.229.12]:33995) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OEcrZ-0001Lj-5S for emacs-orgmode@gnu.org; Wed, 19 May 2010 02:34:41 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OEcrW-0006iy-BH for emacs-orgmode@gnu.org; Wed, 19 May 2010 08:34:38 +0200 Received: from london.zeitform.net ([146.140.213.100]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 May 2010 08:34:38 +0200 Received: from ulf-news by london.zeitform.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 May 2010 08:34:38 +0200 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: emacs-orgmode@gnu.org With Org-mode version 6.36trans (release_6.36.80.gbdfd) GNU Emacs 24.0.50.3 (i686-pc-linux-gnu, GTK+ Version 2.18.6) the LaTeX exporter seems to cease to work when encountering a LaTeX environment. Suppose this minimal org file: --8<--------------------------snip-------------------------->8--- #+TITLE: Wrapping in Env /foo/ #+BEGIN_LaTeX \begin{center} #+END_LaTeX /bar/ #+BEGIN_LaTeX \end{center} #+END_LaTeX /baz/ --8<--------------------------snap-------------------------->8--- When exported to LaTeX the relevant part looks like this: --8<--------------------------snip-------------------------->8--- \emph{foo} \begin{center} /bar/ \end{center} \emph{baz} --8<--------------------------snap-------------------------->8--- As far as I can see, this happens only if an environment is defined in the BEGIN/END_LaTeX blocks. Everything between such blocks is exported literally. I'm pretty sure this once had worked but I'm not sure when org stopped to export correctly. Ulf