emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Ulf Stegemann <ulf-news@zeitform.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: LaTeX export and LaTeX environment
Date: Wed, 19 May 2010 08:57:40 +0200	[thread overview]
Message-ID: <D0B0732B-FC79-43F8-829D-438DE87A5AB0@gmail.com> (raw)
In-Reply-To: <zf.upn4oi41jt8.fsf@zeitform.de>


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	other threads:[~2010-05-19  6:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-19  6:34 Bug: LaTeX export and LaTeX environment Ulf Stegemann
2010-05-19  6:57 ` Carsten Dominik [this message]
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=D0B0732B-FC79-43F8-829D-438DE87A5AB0@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=ulf-news@zeitform.de \
    /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).