From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: listings and the new LaTeX exporter Date: Thu, 24 May 2012 21:49:35 +0200 Message-ID: <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]:59755) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SXe3d-0006kv-Ay for emacs-orgmode@gnu.org; Thu, 24 May 2012 15:50:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SXe3b-0006Y3-F5 for emacs-orgmode@gnu.org; Thu, 24 May 2012 15:50:48 -0400 Received: from plane.gmane.org ([80.91.229.3]:59940) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SXe3b-0006Wm-60 for emacs-orgmode@gnu.org; Thu, 24 May 2012 15:50:47 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SXe3S-00039x-Sw for emacs-orgmode@gnu.org; Thu, 24 May 2012 21:50:38 +0200 Received: from vpn-2031.gwdg.de ([134.76.2.31]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 May 2012 21:50:38 +0200 Received: from andreas.leha by vpn-2031.gwdg.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 May 2012 21:50:38 +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: emacs-orgmode@gnu.org 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