emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Truong Nghiem <truong.nghiem@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Bug with exporting org source block
Date: Wed, 28 Mar 2012 15:41:31 -0400	[thread overview]
Message-ID: <CADNXMz9asuFUZaeXAciHUvt0RoqS2Y2pVbrZaALxaS7PHArORQ@mail.gmail.com> (raw)

I'm using orgmode release Org 7.8.06.  When I export an org source
block (i.e. a source code block in the org language):

#+BEGIN_SRC org :exports code
  ,#+srcname: <name>
  ,#+begin_src <language> <switches> <header arguments>
  ,  <body>
  ,#+end_src
#+END_SRC

the last source line is not exported.  The output, in both PDF and
HTML, becomes:

#+srcname: <name>
#+begin_src <language> <switches> <header arguments>
  <body>

Notice that the line "#+end_src" is not present.
--
Truong Nghiem

             reply	other threads:[~2012-03-28 19:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-28 19:41 Truong Nghiem [this message]
2012-03-31 14:23 ` URGENT Bug with exporting org source block Eric Schulte
2012-03-31 16:58   ` Eric Schulte
2012-04-01  7:18   ` Achim Gratz
2012-04-01 12:43     ` Eric Schulte
2012-04-01 15:27       ` Achim Gratz
2012-04-01 16:28         ` Eric Schulte
2012-04-01 18:35           ` Achim Gratz
2012-04-01 18:08       ` Achim Gratz

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=CADNXMz9asuFUZaeXAciHUvt0RoqS2Y2pVbrZaALxaS7PHArORQ@mail.gmail.com \
    --to=truong.nghiem@gmail.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).