emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* babel work flow
@ 2011-07-13 23:09 Thomas S. Dye
  2011-07-14  7:34 ` Sebastien Vauban
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas S. Dye @ 2011-07-13 23:09 UTC (permalink / raw)
  To: Org-mode

Aloha all,

I want to use one of the dot utilities, tred, in a way that preserves my
ability to distribute the Org-mode file as reproducible research, i.e.,
intermediate results should end up in the Org-mode file or be passed
along in a chain.

Right now I have a python routine that reads a couple of Org-mode tables
and outputs a valid dot graph.  I'm saving this to a file, dot-temp.gv,
and then running some shell commands, like this:

#+begin_src sh
  tred dot-temp.gv > test.gv
  dot -o test.pdf -Tpdf test.gv
  open test.pdf
#+end_src

The graph is just what I want, but I can't see how to automate the
process in Org-mode.  In particular, the tred step trips me up.  Do I
have to make babel, tred-aware?

Tom
-- 
T.S. Dye & Colleagues, Archaeologists
735 Bishop St, Suite 315, Honolulu, HI 96813
Tel: 808-529-0866, Fax: 808-529-0884
http://www.tsdye.com

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

end of thread, other threads:[~2011-07-15 16:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-13 23:09 babel work flow Thomas S. Dye
2011-07-14  7:34 ` Sebastien Vauban
2011-07-14 15:53   ` Thomas S. Dye
2011-07-15 15:36     ` Eric Schulte
2011-07-15 16:58       ` Thomas S. Dye

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).