[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

From: Eric S Fraga
Subject: [O] [babel] inline call within table formula?
Date: Fri, 08 Jul 2011 16:19:07 +0100
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)


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 to do something like this:

--8<---------------cut here---------------start------------->8---
#+source: f
#+begin_src octave :var x=[1 3 5]

| x1 | x2 | x3 | f                        |
|  1 |  3 |  5 | Apply call_f($1..$3) here |
--8<---------------cut here---------------end--------------->8---


: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs
: using Org-mode version 7.6 (release_7.6.4.gf305a)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]