emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ulf Stegemann <ulf-news@zeitform.de>
To: emacs-orgmode@gnu.org
Subject: Bug: LaTeX export and LaTeX environment
Date: Wed, 19 May 2010 08:34:27 +0200	[thread overview]
Message-ID: <zf.upn4oi41jt8.fsf@zeitform.de> (raw)

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

             reply	other threads:[~2010-05-19  6:34 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-19  6:34 Ulf Stegemann [this message]
2010-05-19  6:57 ` Bug: LaTeX export and LaTeX environment Carsten Dominik
2010-05-19  7:27   ` Ulf Stegemann
2010-05-19 19:20     ` Mark Elston
2010-06-01 13:42       ` Carsten Dominik
2010-06-01 13:57         ` Chris Gray
2010-06-01 14:46           ` Carsten Dominik
2010-06-01 15:02           ` Chris Gray
2010-06-01 21:20             ` Mark Elston
2010-06-02  8:28               ` Chris Gray

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=zf.upn4oi41jt8.fsf@zeitform.de \
    --to=ulf-news@zeitform.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).