emacs-orgmode
[Top][All Lists]
Advanced

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

[O] [bug] org block not correctly exported to LaTeX


From: Thomas Holst
Subject: [O] [bug] org block not correctly exported to LaTeX
Date: Thu, 21 Jul 2011 14:02:58 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (windows-nt)

Hello,

when the follwing org-file is exported to LaTeX, #+BEGIN_ORG
and #+END_ORG is inserted in the tex-file.

--8<------------------------schnipp------------------------->8---
* Testing output perl to org

  #+srcname: TestingPerlToOrg
  #+begin_src perl :exports results :results output org
    print "Hello World\n";
  #+end_src

  #+results: TestingPerlToOrg
  #+BEGIN_ORG
  Hello World
  #+END_ORG
--8<------------------------schnapp------------------------->8---

Relevant part of the tex-file:
--8<------------------------schnipp------------------------->8---
#+begin_src latex
  \#+begin\_{}org 
    Hello World
  \#+end\_{}org
#+end_src
--8<------------------------schnapp------------------------->8---

If the #+BEGIN_ORG ... #+END_ORG starts at column 0 it is not inserted
into the tex-file. Other blocks (e.g. #+BEGIN_EXAMPLE ... #+END_EXAMPLE)
are not inserted if they are indented.

Tested with:
emacs 23.2.1 on WinXP
Org-mode version 7.6 (release_7.6.75.g67e9) (local patch to makefile)

Thanks again for org-mode. More and more of my collegues are starting to
use it!
-- 
Mit freundlichen Grüßen / Best regards 

Thomas Holst 
DGS-EC/ESE4

Tel.   +49 (711) 811-40681
PC-Fax +49 (711) 811-5182208



reply via email to

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