M-x customize-group RET org-export-e-latex RET

(Hint: Search for listing)

Andreas Leha <andreas.l...@med.uni-goettingen.de> writes:

> 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