N.N*_*.N. 6 emacs latex org-mode
当Org-mode导出到LaTeX时,它会在代码块之后生成一个新段落.我怎么能避免这个?
请考虑以下示例:
#+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
Run Code Online (Sandbox Code Playgroud)
它导出到以下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}
Run Code Online (Sandbox Code Playgroud)
输出为

请注意,第一个代码块之后的文本被设置为新段落.我不希望它被设置为新段落.我希望它被设置为

这是输出:
\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}
Run Code Online (Sandbox Code Playgroud)
我在Emacs 23.3.1中运行Org-mode 7.6.
这似乎不是一个问题Org 7.8.03。测试您的确切代码块会提供以下输出
#+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
Run Code Online (Sandbox Code Playgroud)
乳胶
#+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
Run Code Online (Sandbox Code Playgroud)
输出
