emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Error with :wrap org in babel and 8.0-pre


From: John Hendy
Subject: Re: [O] Error with :wrap org in babel and 8.0-pre
Date: Mon, 15 Apr 2013 16:51:23 -0500

On Mon, Apr 15, 2013 at 4:44 PM, Sebastien Vauban
<address@hidden> 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
>
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]