emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to add tblname from ob-shell fragments?
@ 2018-10-11 13:25 Alex Bennée
  2018-10-12  0:20 ` Adrian Bradd
  0 siblings, 1 reply; 2+ messages in thread
From: Alex Bennée @ 2018-10-11 13:25 UTC (permalink / raw)
  To: emacs-orgmode


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to add tblname from ob-shell fragments?
  2018-10-11 13:25 How to add tblname from ob-shell fragments? Alex Bennée
@ 2018-10-12  0:20 ` Adrian Bradd
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bradd @ 2018-10-12  0:20 UTC (permalink / raw)
  To: Alex Bennée; +Cc: emacs-orgmode


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-10-12  0:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-11 13:25 How to add tblname from ob-shell fragments? Alex Bennée
2018-10-12  0:20 ` Adrian Bradd

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).