Re: [O] How to add tblname from ob-shell fragments?

2018-10-11 Thread Adrian Bradd



Hi,

You might find John Kitchin's post [1] for assigning captions and 
names to the results of code blocks helpful. I use the method all 
the time for captioning and referencing results when exporting.


[1] 
https://kitchingroup.cheme.cmu.edu/blog/2016/02/26/Adding-captions-and-attributes-to-figures-and-tables-from-code-blocks-in-org-mode/


Cheers,

--
Adrian Bradd



[O] How to add tblname from ob-shell fragments?

2018-10-11 Thread Alex Bennée


Hi,

I'm trying to solve a problem with an ob-shell fragment. I want to emit
a table which other blocks are going to consume. As script takes a while
I don't want to dynamically call it when doing additional work with the
data. In fact in my real example I use ob-async's :async so it can run
and collect the data in the background.

Is there any way to get the results to emit a tblname with the result?

--
Alex Bennée