all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Finer control over LaTeX export
Date: Tue, 31 Dec 2013 11:38:03 -0500	[thread overview]
Message-ID: <87d2kdgems.fsf@alphaville.bos.redhat.com> (raw)
In-Reply-To: loom.20131231T155755-692@post.gmane.org

Uwe Ziegenhagen <ziegenhagen@gmail.com> 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

      parent reply	other threads:[~2013-12-31 16:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-31 15:02 Finer control over LaTeX export Uwe Ziegenhagen
2013-12-31 16:00 ` Nicolas Goaziou
2013-12-31 16:38 ` Nick Dokos [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d2kdgems.fsf@alphaville.bos.redhat.com \
    --to=ndokos@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.