emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Eric Schulte" <schulte.eric@gmail.com>
To: Kieran Healy <kjhealy@gmail.com>
Cc: emacs-org list <emacs-orgmode@gnu.org>
Subject: Re: org-babel issue with source blocks and latex block
Date: Tue, 15 Feb 2011 11:49:45 -0700	[thread overview]
Message-ID: <877hd15dz7.fsf@gmail.com> (raw)
In-Reply-To: E12E9422-DEA8-4F73-A513-AD329E392850@gmail.com

Kieran Healy <kjhealy@gmail.com> writes:

> Hi, 
>
> I have org-babel set up to use minted to format code blocks and it's
> terrific. I was wondering whether I could also get it to wrap the
> results it outputs using minted instead of verbatim environments (it
> seems not right now) when I noticed the following strange
> behavior. Here's a minimal example. This org file exports to latex as
> expected, with the src block in a minted environment and the results
> block as a verbatim environment: (As I say, wanting the results block
> wrapped by minted was what prompted this issue ...)
>

Hi Kieran,

This may be possible through the use of the ":results src" header
argument e.g., the following minimal code block

#+begin_src R :results code
  8
#+end_src

evaluates to the following

#+results:
#+BEGIN_SRC R
8
#+END_SRC

which should be exported using minted.

Hope this helps -- Eric

  reply	other threads:[~2011-02-15 18:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-15 17:56 org-babel issue with source blocks and latex block Kieran Healy
2011-02-15 18:49 ` Eric Schulte [this message]
2011-02-15 21:15   ` Kieran Healy

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=877hd15dz7.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=kjhealy@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).