emacs-orgmode
[Top][All Lists]
Advanced

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

[O] Org-Babel concise named scalar variables


From: William Kunkel
Subject: [O] Org-Babel concise named scalar variables
Date: Wed, 16 Apr 2014 00:23:12 -0400

I'm just getting started using Org Babel and I've run into a bit of an annoyance that I can't seem to find an answer to in the Org Babel docs. I find myself wanting to use one variable in multiple code blocks, for example, the path to a file. Org Babel provides several mechanisms for including array/list types, via tables and lists with a #+NAME line before them. However the only mechanism it provides for single variables is #+NAME before example blocks, which just seem clunky for something as trivial as a file path or numeric variable. Is there a more concise way to do simple variables, or am I stuck with the named example blocks?

Thanks,
Will

reply via email to

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