Re: [Orgmode] Why are src_perl{} immediately executed?

2010-11-14 Thread Eric Schulte
Hi Dov, That is correct, there is no method of highlighting inline code blocks, the begin_src constructs are just for evaluation of inline code. You can customized the `org-babel-default-inline-header-args' to inhibit the execution of inline code blocks on export. Best -- Eric Dov Grobgeld

Re: [Orgmode] Why are src_perl{} immediately executed?

2010-11-14 Thread Dov Grobgeld
Ok. Thanks for clarifying it. The documentation isn't clear on this issue. Regards, Dov On Sun, Nov 14, 2010 at 18:03, Eric Schulte schulte.e...@gmail.com wrote: Hi Dov, That is correct, there is no method of highlighting inline code blocks, the begin_src constructs are just for evaluation

[Orgmode] Why are src_perl{} immediately executed?

2010-11-13 Thread Dov Grobgeld
From the documentation it seems like a statement such as src_perl{foo()} are inline version of the multi line: #+src_perl foo(); #+end_src But when exporting the org file to html I get the question Evaluate this perl code on your system for the inline version, but not for the multiline version.

Re: [Orgmode] Why are src_perl{} immediately executed?

2010-11-13 Thread Noorul Islam
On Sun, Nov 14, 2010 at 3:34 AM, Dov Grobgeld dov.grobg...@gmail.com wrote: From the documentation it seems like a statement such as src_perl{foo()} are inline version of the multi line: #+src_perl foo(); #+end_src But when exporting the org file to html I get the question Evaluate this

Re: [Orgmode] Why are src_perl{} immediately executed?

2010-11-13 Thread Dov Grobgeld
From the documentation I see now difference between inline and multi-line behavior. Note that I did not wish to evaluate the code at all but just have inline syntax highlighting in my html export. Is src_perl{foo()} for evaluation only and not for source highlighting? Thanks, Dov On Sun, Nov 14,