emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Bug: LaTeX export and LaTeX environment


From: Carsten Dominik
Subject: Re: [Orgmode] Bug: LaTeX export and LaTeX environment
Date: Wed, 19 May 2010 08:57:40 +0200


On May 19, 2010, at 8:34 AM, Ulf Stegemann wrote:

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

Hi Ulf,

it has always been like this,

check out this entire thread for work-arounds and other solutions

http://thread.gmane.org/gmane.emacs.orgmode/12977

HTH

- Carsten




reply via email to

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