Hello,

Vikas Rawal <vikasli...@agrarianresearch.org> writes:

> The idea is to pick contents of a table cell and use it in a paragraph.
>
> Is it possible to have a macro like {{{remote(NAME-OR-ID,REF)}}} ?
>
> The above does not work, but am I missing something?

You could try:

--8<---------------cut here---------------start------------->8---
#+macro: remote src_emacs-lisp{(org-table-get-remote-range "$1" "$2")}

Example:

#+name: foo
| 1 | 2 |
| 3 | 4 |

The macro call: {{{remote(foo, @1$2)}}}
--8<---------------cut here---------------end--------------->8---

Regards,

-- 
Nicolas Goaziou

Reply via email to