What's the problem with:
#+name: fibonacci-inputs
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 2 | 4 | 6 | 8 | 10 | 12 | 14 | 16 | 18 | 20 |
#+name: fibonacci-seq
#+begin_src emacs-lisp :var fib-inputs=fibonacci-inputs
(defun fibonacci (n)
(if (or (= n 0) (= n 1))
n
(+
Hi Christian,
Christian Wittern writes:
> #+name: fibonacci-inputs
> | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
> | 2 | 4 | 6 | 8 | 10 | 12 | 14 | 16 | 18 | 20 |
>
>
> #+name: fibonacci-seq(fib-inputs=fibonacci-inputs)
> #+begin_src emacs-lisp
>(defun fibonacci (n)
> (if (or (= n 0
Hi there,
I am trying to understand how to use information from an org table as input
for a babel function.
For this purpose, I looked at the example at
http://orgmode.org/worg/org-contrib/babel/intro.html#arguments-to-source-code-blocks
It seems that this is using the old syntax, eg. #+tblna