[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] #+begin_example broken when #+begin_src included inside?
From: |
Nick Dokos |
Subject: |
Re: [O] #+begin_example broken when #+begin_src included inside? |
Date: |
Sun, 12 Jun 2011 20:46:22 -0400 |
Erik Iverson <address@hidden> 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