When Org-mode exports to LaTeX, it creates a new paragraph after blocks of code. How can i avoid this?
Consider the following example:
#+TITLE: Example #+BEGIN_SRC emacs-lisp (setq foo "bar") #+END_SRC A paragraph contains some text and this text only serves as example text. #+BEGIN_SRC emacs-lisp (setq bar "foo") #+END_SRC
It is exported to the next LaTeX
\begin{verbatim} (setq foo "bar") \end{verbatim} A paragraph contains some text and this text only serves as example text. \begin{verbatim} (setq bar "foo") \end{verbatim}
which is displayed as
Please note that the text after the first code block is set as a new paragraph. I do not want it to be set as a new paragraph. I want it to be set as
which is the result of:
\begin{verbatim} (setq foo "bar") \end{verbatim} A paragraph contains some text and this text only serves as example text. \begin{verbatim} (setq bar "foo") \end{verbatim}
I am running Org-mode 7.6 on Emacs 23.3.1.
source share