Re: [O] [babel] inline call within table formula?

2011-07-11 Thread Eric Schulte
Eric S Fraga writes: > Bastien writes: > >> Hi Sébastien, >> >> "Sebastien Vauban" writes: >> >>> Eric S Fraga wrote: Eric Schulte writes: > The `sbe' macro can be used to evaluate code blocks in table formula. Argg, yes, I now remember this coming up in the list a long

Re: [O] [babel] inline call within table formula?

2011-07-11 Thread Eric S Fraga
Bastien writes: > Hi Sébastien, > > "Sebastien Vauban" writes: > >> Eric S Fraga wrote: >>> Eric Schulte writes: The `sbe' macro can be used to evaluate code blocks in table formula. >>> >>> Argg, yes, I now remember this coming up in the list a long time >>> ago. Thanks for reminding

Re: [O] [babel] inline call within table formula?

2011-07-11 Thread Bastien
Hi Sébastien, "Sebastien Vauban" writes: > Eric S Fraga wrote: >> Eric Schulte writes: >>> The `sbe' macro can be used to evaluate code blocks in table formula. >> >> Argg, yes, I now remember this coming up in the list a long time >> ago. Thanks for reminding me. >> >> I wasn't able to fi

Re: [O] [babel] inline call within table formula?

2011-07-11 Thread Sebastien Vauban
Hi Eric, Eric S Fraga wrote: > Eric Schulte writes: >> The `sbe' macro can be used to evaluate code blocks in table formula. > > Argg, yes, I now remember this coming up in the list a long time > ago. Thanks for reminding me. > > I wasn't able to find it using typical keywords unfortunately.

Re: [O] [babel] inline call within table formula?

2011-07-11 Thread Eric S Fraga
Eric Schulte writes: > Hi Eric, > > The `sbe' macro can be used to evaluate code blocks in table formula. Argg, yes, I now remember this coming up in the list a long time ago. Thanks for reminding me. I wasn't able to find it using typical keywords unfortunately. I also wasn't able to fin

Re: [O] [babel] inline call within table formula?

2011-07-10 Thread Eric Schulte
Hi Eric, The `sbe' macro can be used to evaluate code blocks in table formula. For Example: | 1 | | 2 | | 3 | | 4 | | 5 | | 6 | | 3.5 | #+TBLFM: @7$1='(sbe mean (lst @1..@6)) #+source: mean #+begin_src emacs-lisp :var lst=() (let ((num (car lst)) (nums (cdr lst))) (/ (float (+

[O] [babel] inline call within table formula?

2011-07-08 Thread Eric S Fraga
Hi, Quick question: I'd like to use a babel inline call to calculate something in a table based on other values in the table. Is this possible? Probably using elisp directly? If so, I cannot figure out what the magic incantation should be! I hope somebody can help. For illustration, I'd like