From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Finer control over LaTeX export Date: Tue, 31 Dec 2013 11:38:03 -0500 Message-ID: <87d2kdgems.fsf@alphaville.bos.redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43527) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vy2Kk-00023E-1X for emacs-orgmode@gnu.org; Tue, 31 Dec 2013 11:38:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vy2Kc-0000El-Nz for emacs-orgmode@gnu.org; Tue, 31 Dec 2013 11:38:21 -0500 Received: from plane.gmane.org ([80.91.229.3]:59881) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vy2Kc-0000Ef-HM for emacs-orgmode@gnu.org; Tue, 31 Dec 2013 11:38:14 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Vy2Kb-00061l-Ij for emacs-orgmode@gnu.org; Tue, 31 Dec 2013 17:38:13 +0100 Received: from pool-98-110-175-184.bstnma.fios.verizon.net ([98.110.175.184]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 31 Dec 2013 17:38:13 +0100 Received: from ndokos by pool-98-110-175-184.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 31 Dec 2013 17:38:13 +0100 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 Uwe Ziegenhagen writes: > Hi everyone, > > I have short parts of Python code in my org file: > > #+begin_src python :results value > def foo(x): > if x>0: > return x+1 > > else: > return x-1 > > return foo(590) > #+end_src > > > How can I define how Org Mode is exporting these snippets? > C-h v org-latex-listings RET It's apparently nil. Setting it to t should do what you want. Nick