emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thomas Holst <thomas.holst@de.bosch.com>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: [bug] org block not correctly exported to LaTeX
Date: Thu, 21 Jul 2011 14:02:58 +0200	[thread overview]
Message-ID: <o.ywodaac7hmdp@de.bosch.com> (raw)

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	other threads:[~2011-07-21 12:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-21 12:02 Thomas Holst [this message]
2011-07-24 23:12 ` [bug] org block not correctly exported to LaTeX Bastien
2011-07-25  8:02   ` Thomas Holst
2011-07-25 17:08     ` Eric Schulte
2011-07-26  6:50       ` Thomas Holst
2011-07-25 17:48     ` Bernt Hansen
2011-07-26  7:00       ` Thomas Holst

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=o.ywodaac7hmdp@de.bosch.com \
    --to=thomas.holst@de.bosch.com \
    --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).