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

2013-04-16 Thread Christian Moe
Hi, John, My apologies; the question/suggestion below was meant for Eric and concerned a possible change in Babel that might help. It was not meant as a tip to you about something you could try now. In any case, Eric has replied that drawers are the preferred solution, so I suppose something a

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

2013-04-16 Thread Eric Schulte
John Hendy writes: > On Tue, Apr 16, 2013 at 3:23 AM, Christian Moe wrote: >> >> Eric Schulte writes: - Is =:results drawer= what we want as the syntax to get org syntax parsed by the exporter? >>> >>> Yes. >>> Just guessing from the name, it strikes me as a fix or enhancement for

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

2013-04-16 Thread John Hendy
On Tue, Apr 16, 2013 at 3:23 AM, Christian Moe wrote: > > Eric Schulte writes: >>> - Is =:results drawer= what we want as the syntax to get org syntax >>> parsed by the exporter? >> >> Yes. >> >>> Just guessing from the name, it strikes me as a fix or enhancement for >>> some other behavior/option

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

2013-04-16 Thread Christian Moe
Eric Schulte writes: >> - Is =:results drawer= what we want as the syntax to get org syntax >> parsed by the exporter? > > Yes. > >> Just guessing from the name, it strikes me as a fix or enhancement for >> some other behavior/option that's now being applied to code as an >> after thought. >> > >

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

2013-04-16 Thread Sebastien Vauban
Hello, Eric Schulte wrote: >> - Can we prune some options/syntax that's no longer necessary? For >> example, what does =:wrap= (no argument provided) do? > > Wrap has been deprecated for some time. No, it hasn't been deprecated. ":results wrap" has; not ":wrap"... > Perhaps it has been long enou

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

2013-04-15 Thread Nicolas Goaziou
Hello, "Sebastien Vauban" writes: > Nicolas Goaziou wrote: >> John Hendy writes: >> >>> #+RESULTS: >>> #+BEGIN_org >>> 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 thicknesse

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

2013-04-15 Thread Eric Schulte
t...@tsdye.com (Thomas S. Dye) writes: > Hi all, > > Eric Schulte writes: > >>> >>> - Can we prune some options/syntax that's no longer necessary? For >>> example, what does =:wrap= (no argument provided) do? >> >> Wrap has been deprecated for some time. Perhaps it has been long enough >> that w

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

2013-04-15 Thread Thomas S. Dye
Hi all, Eric Schulte writes: >> >> - Can we prune some options/syntax that's no longer necessary? For >> example, what does =:wrap= (no argument provided) do? > > Wrap has been deprecated for some time. Perhaps it has been long enough > that we can go ahead and remove it entirely from the code

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

2013-04-15 Thread Eric Schulte
>>> >> >> Sounds great. Thanks for helping to improve the documentation! >> > > No problem. Prior to that, I have unanswered questions: > - Is the \begin/end{verbatim} wrapping the expected result for > #+begin/end_src org? > Yes, this is the default export for any src block, see the following pa

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

2013-04-15 Thread John Hendy
On Mon, Apr 15, 2013 at 5:38 PM, Eric Schulte wrote: > John Hendy writes: > >> On Mon, Apr 15, 2013 at 3:28 PM, Eric Schulte wrote: >>> Nicolas Goaziou writes: >>> John Hendy writes: > On Mon, Apr 15, 2013 at 2:56 PM, Nicolas Goaziou > wrote: >> Hello, >> >> Joh

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

2013-04-15 Thread Eric Schulte
John Hendy writes: > On Mon, Apr 15, 2013 at 3:28 PM, Eric Schulte wrote: >> Nicolas Goaziou writes: >> >>> John Hendy writes: >>> On Mon, Apr 15, 2013 at 2:56 PM, Nicolas Goaziou wrote: > Hello, > > John Hendy writes: > >> #+RESULTS: >> #+BEGIN_org >>

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

2013-04-15 Thread John Hendy
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

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

2013-04-15 Thread Sebastien Vauban
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_

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

2013-04-15 Thread Sebastien Vauban
John, John Hendy wrote: > Here's my summary of possible options from this thread and others in > which I've tried to do similar things (=:exports results= used in all > cases): > > 1) =:results output wrap=. > - Documentation: none seems to suggest that this combination is even possible. > - Behav

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

2013-04-15 Thread John Hendy
On Mon, Apr 15, 2013 at 2:47 PM, Sebastien Vauban wrote: > Dear Eric, > > Eric Schulte wrote: >> John Hendy writes: >>> On Fri, Apr 12, 2013 at 5:24 PM, Eric Schulte >>> wrote: John Hendy writes: >> >> Use :wrap org if your code block produces raw org. E.g., >> >> #+begin_src sh :resu

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

2013-04-15 Thread John Hendy
On Mon, Apr 15, 2013 at 3:51 PM, Sebastien Vauban wrote: > Eric Schulte wrote: >> Nicolas Goaziou writes: >>> John Hendy writes: On Mon, Apr 15, 2013 at 2:56 PM, Nicolas Goaziou wrote: > John Hendy writes: > >> #+RESULTS: >> #+BEGIN_org >> ... >> #+END_org >>

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

2013-04-15 Thread John Hendy
On Mon, Apr 15, 2013 at 3:28 PM, Eric Schulte wrote: > Nicolas Goaziou writes: > >> John Hendy writes: >> >>> On Mon, Apr 15, 2013 at 2:56 PM, Nicolas Goaziou >>> wrote: Hello, John Hendy writes: > #+RESULTS: > #+BEGIN_org > With the assumption of 100 lbs. of i

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

2013-04-15 Thread Sebastien Vauban
Eric Schulte wrote: > Nicolas Goaziou writes: >> John Hendy writes: >>> On Mon, Apr 15, 2013 at 2:56 PM, Nicolas Goaziou >>> wrote: John Hendy writes: > #+RESULTS: > #+BEGIN_org > ... > #+END_org This is wrong. We discussed it months ago on this ML and, IIRC

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

2013-04-15 Thread Eric Schulte
Nicolas Goaziou writes: > John Hendy writes: > >> On Mon, Apr 15, 2013 at 2:56 PM, Nicolas Goaziou wrote: >>> Hello, >>> >>> John Hendy writes: >>> #+RESULTS: #+BEGIN_org With the assumption of 100 lbs. of input material 1 and 200 lbs. of material 2, we can produce th

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

2013-04-15 Thread Nicolas Goaziou
John Hendy writes: > On Mon, Apr 15, 2013 at 2:56 PM, Nicolas Goaziou wrote: >> Hello, >> >> John Hendy writes: >> >>> #+RESULTS: >>> #+BEGIN_org >>> 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

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

2013-04-15 Thread Sebastien Vauban
Hello Nicolas, Nicolas Goaziou wrote: > John Hendy writes: > >> #+RESULTS: >> #+BEGIN_org >> 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

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

2013-04-15 Thread John Hendy
On Mon, Apr 15, 2013 at 2:56 PM, Nicolas Goaziou wrote: > Hello, > > John Hendy writes: > >> #+RESULTS: >> #+BEGIN_org >> 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 thickness

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

2013-04-15 Thread Eric Schulte
>> >> Use :wrap org if your code block produces raw org. E.g., >> >> #+begin_src sh :results output :wrap org >> cat <> | a | b | >> |---+---| >> | 1 | 2 | >> EOF >> #+end_src >> >> #+RESULTS: >> #+BEGIN_org >> | a | b | >> |---+---| >> | 1 | 2 | >>

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

2013-04-15 Thread Nicolas Goaziou
Hello, John Hendy writes: > #+RESULTS: > #+BEGIN_org > 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

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

2013-04-15 Thread John Hendy
On Mon, Apr 15, 2013 at 2:48 PM, Andreas Leha wrote: > Hi John, > > John Hendy writes: > >> On Mon, Apr 15, 2013 at 1:12 PM, Eric Schulte wrote: >>> John Hendy writes: >>> On Fri, Apr 12, 2013 at 5:24 PM, Eric Schulte wrote: > John Hendy writes: > >> I thought this was

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

2013-04-15 Thread Andreas Leha
Hi John, John Hendy writes: > On Mon, Apr 15, 2013 at 1:12 PM, Eric Schulte wrote: >> 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 docum

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

2013-04-15 Thread Sebastien Vauban
Dear Eric, Eric Schulte wrote: > John Hendy writes: >> On Fri, Apr 12, 2013 at 5:24 PM, Eric Schulte wrote: >>> John Hendy writes: > > Use :wrap org if your code block produces raw org. E.g., > > #+begin_src sh :results output :wrap org > cat < | a | b | > |---+---| > | 1 |

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

2013-04-15 Thread John Hendy
On Mon, Apr 15, 2013 at 1:12 PM, Eric Schulte wrote: > 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 :export

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

2013-04-15 Thread Eric Schulte
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 e

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

2013-04-15 Thread John Hendy
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

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

2013-04-12 Thread Eric Schulte
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". Cheers, > > I've got a statement interspersing some pr

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

2013-04-11 Thread John Hendy
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've got a statement interspersing some prose with variable values like so: cat("This and such value was," var1, ", and this one was", var2, ".\