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

2013-04-16 Thread Nicolas Goaziou
Hello, Sebastien Vauban wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@public.gmane.org writes: Nicolas Goaziou wrote: John Hendy jw.hendy-re5jqeeqqe8avxtiumw...@public.gmane.org writes: #+RESULTS: #+BEGIN_org With the assumption of 100 lbs. of input material 1 and 200 lbs. of material 2, we can

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 enough that we

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. As I recall this

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 m...@christianmoe.com 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

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

2013-04-16 Thread Eric Schulte
John Hendy jw.he...@gmail.com writes: On Tue, Apr 16, 2013 at 3:23 AM, Christian Moe m...@christianmoe.com 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

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

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 schulte.e...@gmail.com wrote: John Hendy jw.he...@gmail.com 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

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

2013-04-15 Thread Eric Schulte
John Hendy jw.he...@gmail.com writes: On Fri, Apr 12, 2013 at 5:24 PM, Eric Schulte schulte.e...@gmail.com wrote: John Hendy jw.he...@gmail.com writes: I thought this was the proper syntax for printing stuff directly to a LaTeX document: #+begin_src R :session :exports results :results

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 schulte.e...@gmail.com wrote: John Hendy jw.he...@gmail.com writes: On Fri, Apr 12, 2013 at 5:24 PM, Eric Schulte schulte.e...@gmail.com wrote: John Hendy jw.he...@gmail.com writes: I thought this was the proper syntax for printing stuff directly

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 jw.he...@gmail.com writes: On Fri, Apr 12, 2013 at 5:24 PM, Eric Schulte schulte.e...@gmail.com wrote: John Hendy jw.he...@gmail.com writes: Use :wrap org if your code block produces raw org. E.g., #+begin_src sh :results output :wrap org

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

2013-04-15 Thread Andreas Leha
Hi John, John Hendy jw.he...@gmail.com writes: On Mon, Apr 15, 2013 at 1:12 PM, Eric Schulte schulte.e...@gmail.com wrote: John Hendy jw.he...@gmail.com writes: On Fri, Apr 12, 2013 at 5:24 PM, Eric Schulte schulte.e...@gmail.com wrote: John Hendy jw.he...@gmail.com writes: I thought

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 andreas.l...@med.uni-goettingen.de wrote: Hi John, John Hendy jw.he...@gmail.com writes: On Mon, Apr 15, 2013 at 1:12 PM, Eric Schulte schulte.e...@gmail.com wrote: John Hendy jw.he...@gmail.com writes: On Fri, Apr 12, 2013 at 5:24 PM, Eric

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

2013-04-15 Thread Nicolas Goaziou
Hello, John Hendy jw.he...@gmail.com 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 Eric Schulte
Use :wrap org if your code block produces raw org. E.g., #+begin_src sh :results output :wrap org cat EOF | a | b | |---+---| | 1 | 2 | EOF #+end_src #+RESULTS: #+BEGIN_org | a | b | |---+---| | 1 | 2 | #+END_org Let me know if

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 n.goaz...@gmail.com wrote: Hello, John Hendy jw.he...@gmail.com 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 jw.he...@gmail.com 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 |

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

2013-04-15 Thread Nicolas Goaziou
John Hendy jw.he...@gmail.com writes: On Mon, Apr 15, 2013 at 2:56 PM, Nicolas Goaziou n.goaz...@gmail.com wrote: Hello, John Hendy jw.he...@gmail.com writes: #+RESULTS: #+BEGIN_org With the assumption of 100 lbs. of input material 1 and 200 lbs. of material 2, we can produce the

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

2013-04-15 Thread Eric Schulte
Nicolas Goaziou n.goaz...@gmail.com writes: John Hendy jw.he...@gmail.com writes: On Mon, Apr 15, 2013 at 2:56 PM, Nicolas Goaziou n.goaz...@gmail.com wrote: Hello, John Hendy jw.he...@gmail.com writes: #+RESULTS: #+BEGIN_org With the assumption of 100 lbs. of input material 1 and 200

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

2013-04-15 Thread Sebastien Vauban
Eric Schulte wrote: Nicolas Goaziou n.goaz...@gmail.com writes: John Hendy jw.he...@gmail.com writes: On Mon, Apr 15, 2013 at 2:56 PM, Nicolas Goaziou n.goaz...@gmail.com wrote: John Hendy jw.he...@gmail.com writes: #+RESULTS: #+BEGIN_org ... #+END_org This is wrong. We discussed it

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 schulte.e...@gmail.com wrote: Nicolas Goaziou n.goaz...@gmail.com writes: John Hendy jw.he...@gmail.com writes: On Mon, Apr 15, 2013 at 2:56 PM, Nicolas Goaziou n.goaz...@gmail.com wrote: Hello, John Hendy jw.he...@gmail.com writes:

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 wxhgmqzgw...@spammotel.com wrote: Eric Schulte wrote: Nicolas Goaziou n.goaz...@gmail.com writes: John Hendy jw.he...@gmail.com writes: On Mon, Apr 15, 2013 at 2:56 PM, Nicolas Goaziou n.goaz...@gmail.com wrote: John Hendy jw.he...@gmail.com

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 wxhgmqzgw...@spammotel.com wrote: Dear Eric, Eric Schulte wrote: John Hendy jw.he...@gmail.com writes: On Fri, Apr 12, 2013 at 5:24 PM, Eric Schulte schulte.e...@gmail.com wrote: John Hendy jw.he...@gmail.com writes: Use :wrap org if your

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. - Behavior:

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_src org/end_src=

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 wxhgmqzgw...@spammotel.com 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 Eric Schulte
John Hendy jw.he...@gmail.com writes: On Mon, Apr 15, 2013 at 3:28 PM, Eric Schulte schulte.e...@gmail.com wrote: Nicolas Goaziou n.goaz...@gmail.com writes: John Hendy jw.he...@gmail.com writes: On Mon, Apr 15, 2013 at 2:56 PM, Nicolas Goaziou n.goaz...@gmail.com wrote: Hello, John

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 schulte.e...@gmail.com wrote: John Hendy jw.he...@gmail.com writes: On Mon, Apr 15, 2013 at 3:28 PM, Eric Schulte schulte.e...@gmail.com wrote: Nicolas Goaziou n.goaz...@gmail.com writes: John Hendy jw.he...@gmail.com writes: On Mon, Apr 15,

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 page of the

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

2013-04-15 Thread Thomas S. Dye
Hi all, Eric Schulte schulte.e...@gmail.com 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

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 schulte.e...@gmail.com 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

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

2013-04-12 Thread Eric Schulte
John Hendy jw.he...@gmail.com 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

[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, .\n)