From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: listings and the new LaTeX exporter Date: Fri, 25 May 2012 01:43:29 +0530 Message-ID: <81zk8xxrpy.fsf@gmail.com> References: <87aa0xwe9c.fsf@med.uni-goettingen.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:42046) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SXePr-00062G-7g for emacs-orgmode@gnu.org; Thu, 24 May 2012 16:13:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SXePp-0001pH-Fu for emacs-orgmode@gnu.org; Thu, 24 May 2012 16:13:46 -0400 Received: from mail-pb0-f41.google.com ([209.85.160.41]:42070) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SXePp-0001oT-7R for emacs-orgmode@gnu.org; Thu, 24 May 2012 16:13:45 -0400 Received: by pbbrp2 with SMTP id rp2so797224pbb.0 for ; Thu, 24 May 2012 13:13:43 -0700 (PDT) In-Reply-To: <87aa0xwe9c.fsf@med.uni-goettingen.de> (Andreas Leha's message of "Thu, 24 May 2012 21:49:35 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Andreas Leha Cc: emacs-orgmode@gnu.org M-x customize-group RET org-export-e-latex RET (Hint: Search for listing) Andreas Leha 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 > > > --