From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: org-babel issue with source blocks and latex block Date: Tue, 15 Feb 2011 11:49:45 -0700 Message-ID: <877hd15dz7.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=34387 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PpPz1-0006mO-PR for emacs-orgmode@gnu.org; Tue, 15 Feb 2011 13:50:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PpPz0-0005JM-N3 for emacs-orgmode@gnu.org; Tue, 15 Feb 2011 13:50:43 -0500 Received: from mail-pw0-f41.google.com ([209.85.160.41]:60957) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PpPz0-0005J3-DQ for emacs-orgmode@gnu.org; Tue, 15 Feb 2011 13:50:42 -0500 Received: by pwj8 with SMTP id 8so151758pwj.0 for ; Tue, 15 Feb 2011 10:50:41 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Kieran Healy Cc: emacs-org list Kieran Healy 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