emacs-orgmode
[Top][All Lists]
Advanced

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

[O] listings and the new LaTeX exporter


From: Andreas Leha
Subject: [O] listings and the new LaTeX exporter
Date: Thu, 24 May 2012 21:49:35 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

Hi all,

in my exported LaTeX-document all code blocks are wrapped in
#+begin_latex
  \begin{verbatim}
  % the code
  \end{verbatim}
#+end_latex

With the "old" LaTeX-exporter I get 
#+begin_latex
  \lstset{language=Renhanced}
  \begin{lstlisting}
  % the code
  \end{lstlisting}
#+end_latex
which is also what I want.

How do I configure the new exporter to wrap code blocks in =lstlisting=
and set the listings language (to =Renhanced= in my case)?

Thanks in advance,
Andreas




reply via email to

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