Re: [O] How to pass a block of text to a code block as data?

2013-02-11 Thread Michael Baum
Sean, that helps too, thank you. Now that you and Sebastien have gone to all this trouble I found the part of the manual that sort of describes this, but I clearly didn't understand it before. Possible needs a more worked-out example for the slow among us, like self. I've noticed one curious

Re: [O] How to pass a block of text to a code block as data?

2013-02-11 Thread Eric Schulte
Michael Baum maab...@gmail.com writes: Sean, that helps too, thank you. Now that you and Sebastien have gone to all this trouble I found the part of the manual that sort of describes this, but I clearly didn't understand it before. Possible needs a more worked-out example for the slow among

Re: [O] How to pass a block of text to a code block as data?

2013-02-09 Thread Sean O'Halpin
On Sat, Feb 9, 2013 at 2:59 AM, Michael Baum maab...@gmail.com wrote: - What signals the end of the block of text to be used as data? I take it that it's important that these all be comment lines staring with a colon after the #+name label? Is there a way to do the same thing with a begin and

[O] How to pass a block of text to a code block as data?

2013-02-08 Thread Michael Baum
I haven't been able to figure this out from the org-mode documents yet. What I would like to do is have a source code block in python or perl or something similar. to which I can pass a reference to several lines of text that the source code block, when evaluated, would then act on. Which would

Re: [O] How to pass a block of text to a code block as data?

2013-02-08 Thread Sebastien Vauban
Hi Michael, Michael Baum wrote: I haven't been able to figure this out from the org-mode documents yet. What I would like to do is have a source code block in python or perl or something similar. to which I can pass a reference to several lines of text that the source code block, when

Re: [O] How to pass a block of text to a code block as data?

2013-02-08 Thread Michael Baum
Sebastien: Thanks! That helps a lot. I'm having trouble extending your example, however. A couple of questions -- - What signals the end of the block of text to be used as data? I take it that it's important that these all be comment lines staring with a colon after the #+name label? Is there a