emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Erik Iverson <eriki@ccbr.umn.edu>
Cc: nicholas.dokos@hp.com, Emacs-orgmode@gnu.org
Subject: Re: #+begin_example broken when #+begin_src included inside?
Date: Sun, 12 Jun 2011 20:46:22 -0400	[thread overview]
Message-ID: <21168.1307925982@alphaville.dokosmarshall.org> (raw)
In-Reply-To: Message from Erik Iverson <eriki@ccbr.umn.edu> of "Sun, 12 Jun 2011 18:30:42 CDT." <4DF54C22.6040606@ccbr.umn.edu>

Erik Iverson <eriki@ccbr.umn.edu> wrote:


> Can anyone confirm the following:
> 
> Export the following org-mode markup to, say, latex
> 
> * a headline
> here's an example of a code block ...
> #+BEGIN_EXAMPLE
> #+BEGIN_SRC <language> <header arguments>
> <code>
> #+END_SRC
> #END_EXAMPLE
> 
> 
> I get (only relevant portion included):
> 
> \section{a headline}
> \label{sec-1}
> 
> here's an example of a code block \ldots{}
> \lstset{language=<language>}
> \begin{lstlisting}
> <code>
> \end{lstlisting}
> 
> 
> So, somehow the begin_src block is getting interpreted as such even
> though it's in a begin_example block...I of course want the whole of
> the text inside the example to simply be in the output verbatim. Did a
> bug creep in perhaps?
> 

I can certainly confirm that: I reported it a week ago - see

    http://thread.gmane.org/gmane.emacs.orgmode/42546

Nick



    

  reply	other threads:[~2011-06-13  0:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-12 23:30 #+begin_example broken when #+begin_src included inside? Erik Iverson
2011-06-13  0:46 ` Nick Dokos [this message]
2011-06-14  3:26   ` Paul Sexton
2011-06-14 12:04     ` Darlan Cavalcante Moreira

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=21168.1307925982@alphaville.dokosmarshall.org \
    --to=nicholas.dokos@hp.com \
    --cc=Emacs-orgmode@gnu.org \
    --cc=eriki@ccbr.umn.edu \
    /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).