all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* #+begin_example broken when #+begin_src included inside?
@ 2011-06-12 23:30 Erik Iverson
  2011-06-13  0:46 ` Nick Dokos
  0 siblings, 1 reply; 4+ messages in thread
From: Erik Iverson @ 2011-06-12 23:30 UTC (permalink / raw)
  To: Emacs-orgmode

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-06-14 12:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-12 23:30 #+begin_example broken when #+begin_src included inside? Erik Iverson
2011-06-13  0:46 ` Nick Dokos
2011-06-14  3:26   ` Paul Sexton
2011-06-14 12:04     ` Darlan Cavalcante Moreira

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.