From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Error with :wrap org in babel and 8.0-pre Date: Mon, 15 Apr 2013 16:51:23 -0500 Message-ID: References: <87li8ncqzq.fsf@gmail.com> <87li8jfysj.fsf@gmail.com> <87y5cjy3du.fsf@gmail.com> <87txn7y2hb.fsf@gmail.com> <874nf7fsix.fsf@gmail.com> <86bo9fldp1.fsf@somewhere.org> <86txn7jwox.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:58947) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1URrJB-0001EK-EH for emacs-orgmode@gnu.org; Mon, 15 Apr 2013 17:51:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1URrJ7-0000te-GG for emacs-orgmode@gnu.org; Mon, 15 Apr 2013 17:51:29 -0400 Received: from mail-lb0-f179.google.com ([209.85.217.179]:62293) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1URrJ7-0000tX-9S for emacs-orgmode@gnu.org; Mon, 15 Apr 2013 17:51:25 -0400 Received: by mail-lb0-f179.google.com with SMTP id t1so5002843lbd.10 for ; Mon, 15 Apr 2013 14:51:24 -0700 (PDT) In-Reply-To: <86txn7jwox.fsf@somewhere.org> 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: Sebastien Vauban Cc: emacs-orgmode On Mon, Apr 15, 2013 at 4:44 PM, Sebastien Vauban wrote: > John, > > John Hendy wrote: >>>> I think you're confusing ":results org" with ":wrap org". >>> >>> And it's even possible to use ":wrap SRC org" to get the same as ":results >>> org"... >> >> True, however I don't get the same output as I used to with this and >> think it's essentially useless now. =#+begin_src org/end_src= used to >> give me the equivalent of essentially a block of Org-mode syntax that >> would be interpreted and parsed just as if it had no #+begin/end >> around it. Now, it's output to LaTeX in \begin{verbatim} / >> \end{verbatim}. It's treated like source code, not Org-mode text to be >> exported. >> >> =#+begin_src org= seems to be no different than =#+begin_example= > > Yes, but for the syntax highlighting. > >> or =#+begin_src lang :exports code :eval no= > > Yes, except that lang must be the same in the source and results block: so a > SQL code block producing SQL code, or R producing R, etc. > I don't think so. I took the results from my code example above, put them in a new headline and then only exported that headline with =C-c C-e C-s l p=: * Heading Block isolated from everything la la la. #+BEGIN_src R :exports code :eval no With the assumption of 100 lbs. of input material 1 and 200 lbs. of material 2, we can produce the following number of widgets based on injection mold wall thicknesses. | wall | vals | widgets | |-------+------+----------| | 5 mil | 0.01 | 40000.00 | | 6 mil | 0.01 | 33333.00 | | 8 mil | 0.01 | 25000.00 | #+END_src That exports verbatim and looks no different than =#+begin_src org= and =#+begin_example=. There is only a code block, no results in this case. John > Best regards, > Seb > > -- > Sebastien Vauban > >