[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] listings and the new LaTeX exporter
From: |
Jambunathan K |
Subject: |
Re: [O] listings and the new LaTeX exporter |
Date: |
Fri, 25 May 2012 01:43:29 +0530 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.97 (windows-nt) |
M-x customize-group RET org-export-e-latex RET
(Hint: Search for listing)
Andreas Leha <address@hidden> 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
>
>
>
--