File: ob-ref.el.html
Functions for referencing data from the header arguments of a org-babel block. The syntax of such a reference should be
#+VAR: variable-name=file:resource-id
- variable-name :: the name of the variable to which the value
will be assigned
- file :: path to the file containing the resource, or omitted if
resource is in the current file
- resource-id :: the id or name of the resource
So an example of a simple source block referencing table data in the same file would be
#+NAME: sandbox
| 1 | 2 | 3 |
| 4 | org-babel | 6 |
#+begin_src emacs-lisp :var table=sandbox (message table) #+end_src
Defined variables (1)
org-babel-update-intermediate | Update the in-buffer results of code blocks executed to resolve references. |
Defined functions (5)
org-babel-ref-goto-headline-id | (ID) |
org-babel-ref-index-list | (INDEX LIS) |
org-babel-ref-parse | (ASSIGNMENT) |
org-babel-ref-resolve | (REF) |
org-babel-ref-split-args | (ARG-STRING) |