Re: [O] Computations on properties

2013-10-10 Thread Thierry Pellé
After some tests : == the idea of Michael * Mean Calculation :PROPERTIES: :VAL1: 5 :VAL2: 10 :COEF: 10 :END: Mean Calculation = call_mean() =5.454545454545454= * code :noexport: #+NAME: mean #+HEADER: :var val1='nil

Re: [O] Computations on properties

2013-10-10 Thread Michael Brand
Hi Thierry On Thu, Oct 10, 2013 at 8:39 AM, Thierry Pellé thierry.pe...@soliavos.fr wrote: After some tests : == the idea of Michael * Mean Calculation :PROPERTIES: :VAL1: 5 :VAL2: 10 :COEF: 10 :END: Mean Calculation =

[O] Computations on properties

2013-10-09 Thread Thierry Pellé
Hi, I'm seeking how to do something like that Let the following text inserted in an org-mode file * Mean Calculation :PROPERTIES: :VAL1: 5 :VAL2: 10 :COEF: 10 :END: I would like to append the result of a computation like RES=(VAL1*COEF+VAL2)/(COEF+1) Something like * Mean Calculation

Re: [O] Computations on properties

2013-10-09 Thread Thorsten Jolitz
Thierry Pellé thierry.pe...@soliavos.fr writes: Hi, I'm seeking how to do something like that Let the following text inserted in an org-mode file * Mean Calculation :PROPERTIES: :VAL1: 5 :VAL2: 10 :COEF: 10 :END: I would like to append the result of a computation like

Re: [O] Computations on properties

2013-10-09 Thread Thierry Pellé
Thank you for the reply PS: I don't want to use org spreadsheet But that would probably be the appropriate tool. I know, but I can't figure out how to extract the speadsheet computed value into the text... Otherwise you could use the property API in an elisp program

Re: [O] Computations on properties

2013-10-09 Thread Eric Abrahamsen
Thierry Pellé thierry.pe...@soliavos.fr writes: Hi, I'm seeking how to do something like that Let the following text inserted in an org-mode file * Mean Calculation :PROPERTIES: :VAL1: 5 :VAL2: 10 :COEF: 10 :END: I would like to append the result of a computation like

Re: [O] Computations on properties

2013-10-09 Thread Thorsten Jolitz
Eric Abrahamsen e...@ericabrahamsen.net writes: Thierry Pellé thierry.pe...@soliavos.fr writes: Hi, I'm seeking how to do something like that Let the following text inserted in an org-mode file * Mean Calculation :PROPERTIES: :VAL1: 5 :VAL2: 10 :COEF: 10 :END: I would like

Re: [O] Computations on properties

2013-10-09 Thread Eric Abrahamsen
Thorsten Jolitz tjol...@gmail.com writes: Eric Abrahamsen e...@ericabrahamsen.net writes: Thierry Pellé thierry.pe...@soliavos.fr writes: Hi, I'm seeking how to do something like that Let the following text inserted in an org-mode file * Mean Calculation :PROPERTIES: :VAL1: 5

Re: [O] Computations on properties

2013-10-09 Thread Eric Schulte
Thorsten Jolitz tjol...@gmail.com writes: Eric Abrahamsen e...@ericabrahamsen.net writes: Thierry Pellé thierry.pe...@soliavos.fr writes: Hi, I'm seeking how to do something like that Let the following text inserted in an org-mode file * Mean Calculation :PROPERTIES: :VAL1: 5

Re: [O] Computations on properties

2013-10-09 Thread Michael Brand
Hi Thierry On Wed, Oct 9, 2013 at 2:19 PM, Thierry Pellé thierry.pe...@soliavos.fr wrote: Mean Calculation=RES (where RES is the value of the result) One more variant would be to use inline source block calls either interactively with C-c C-c or during export. An example with shell (python

Re: [O] Computations on properties

2013-10-09 Thread Eric Abrahamsen
Eric Schulte schulte.e...@gmail.com writes: Thorsten Jolitz tjol...@gmail.com writes: Eric Abrahamsen e...@ericabrahamsen.net writes: Thierry Pellé thierry.pe...@soliavos.fr writes: Hi, I'm seeking how to do something like that Let the following text inserted in an org-mode file *