emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Finer control over LaTeX export


From: Nick Dokos
Subject: Re: [O] Finer control over LaTeX export
Date: Tue, 31 Dec 2013 11:38:03 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Uwe Ziegenhagen <address@hidden> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]