emacs-orgmode
[Top][All Lists]
Advanced

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

[O] #+begin_example broken when #+begin_src included inside?


From: Erik Iverson
Subject: [O] #+begin_example broken when #+begin_src included inside?
Date: Sun, 12 Jun 2011 18:30:42 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10

Hello,

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?

Thanks!

--erik



reply via email to

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