Re: [Orgmode][babel] How to add results to text inline?

2011-02-23 Thread Torsten Wagner
Hi Andreas, thanks for pointing to that. I guess it is the same like on worg. As far as I understood this would help me to add the python code inside my paragraph which is indeed nice for small code-snippet. However, I would like to replace the result of a function call via #+call aka #+lob

Re: [Orgmode][babel] How to add results to text inline?

2011-02-23 Thread Andreas Leha
Sorry. I should have read your message properly. How about: In my long long paragraph after that I want to say that my result is src_python[:noweb yes :results value raw replace :exports results]{return my_formula(my_parameter='5')} for x=5. Regards, Andreas Am 23.02.2011 09:14, schrieb

Re: [Orgmode][babel] How to add results to text inline?

2011-02-23 Thread Eric Schulte
Andreas Leha andreas.l...@med.uni-goettingen.de writes: Sorry. I should have read your message properly. How about: In my long long paragraph after that I want to say that my result is src_python[:noweb yes :results value raw replace :exports results]{return my_formula(my_parameter='5')}

[Orgmode][babel] How to add results to text inline?

2011-02-22 Thread Torsten Wagner
Hi, guess this is a FAQ or at least a stupid question. However, I read along worg and wasn't able to find a solution. I would like to add the result of a source code block in some text paragraph. ---start--mini-example #+source:my_formula(my_parameter='1') #+begin_src python :results

Re: [Orgmode][babel] How to add results to text inline?

2011-02-22 Thread Andreas Leha
Hi Torsten, Have a look at the 'src_language{body}' construct as described here: http://orgmode.org/org.html#Structure-of-code-blocks Hth, Andreas Am 23.02.2011 06:55, schrieb Torsten Wagner: Hi, guess this is a FAQ or at least a stupid question. However, I read along worg and wasn't able