From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: Error with :wrap org in babel and 8.0-pre Date: Mon, 15 Apr 2013 12:12:44 -0600 Message-ID: <87li8jfysj.fsf@gmail.com> References: <87li8ncqzq.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33935) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1URnuE-0005vK-8s for emacs-orgmode@gnu.org; Mon, 15 Apr 2013 14:13:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1URnu8-0007tV-Pz for emacs-orgmode@gnu.org; Mon, 15 Apr 2013 14:13:30 -0400 Received: from mail-pd0-f170.google.com ([209.85.192.170]:60810) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1URnu8-0007tD-G3 for emacs-orgmode@gnu.org; Mon, 15 Apr 2013 14:13:24 -0400 Received: by mail-pd0-f170.google.com with SMTP id 10so2643643pdi.15 for ; Mon, 15 Apr 2013 11:13:23 -0700 (PDT) In-Reply-To: (John Hendy's message of "Mon, 15 Apr 2013 12:59:55 -0500") 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: John Hendy Cc: emacs-orgmode John Hendy writes: > On Fri, Apr 12, 2013 at 5:24 PM, Eric Schulte wrote: >> John Hendy writes: >> >>> I thought this was the proper syntax for printing stuff directly to a >>> LaTeX document: >>> >>> #+begin_src R :session :exports results :results output :wrap org >>> >> >> I think you want either ":results latex" or ":wrap latex". >> > > Trying my best to follow the evolution here.... I've tried to discern > from the manual and Worg the best way to do something, generally try > it and fail. Then I post to the list and get an answer. A short time > later, I try doing what I think is approximately the same thing to > find that it seems to have changed since the last time: > > To print multiple file names and =#+attr_stuff= options, the answer > was =:results output org :exports results= > - http://lists.gnu.org/archive/html/emacs-orgmode/2012-08/msg01224.html > > Trying to do the same exact thing a bit later was =:results output > wrap=, shortly followed up with the instruction to use =:wrap org= > - http://lists.gnu.org/archive/html/emacs-orgmode/2013-03/msg01599.html > > Now, it's =:wrap latex=, but I'm not sure why. > I may have miss-understood your question. > > Is =:wrap org= appropriate for anything? Use :wrap latex if your code block produces raw latex. E.g., #+begin_src sh :results output :wrap latex cat <