From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: babel work flow Date: Wed, 13 Jul 2011 13:09:09 -1000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:40011) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qh8YY-0003gE-H7 for emacs-orgmode@gnu.org; Wed, 13 Jul 2011 19:09:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qh8YP-00027o-Lr for emacs-orgmode@gnu.org; Wed, 13 Jul 2011 19:09:26 -0400 Received: from oproxy7-pub.bluehost.com ([67.222.55.9]:42863) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Qh8YP-00027Q-17 for emacs-orgmode@gnu.org; Wed, 13 Jul 2011 19:09:17 -0400 Received: from cpe-24-94-66-191.hawaii.res.rr.com ([24.94.66.191] helo=potofo-ou) by box472.bluehost.com with esmtpa (Exim 4.69) (envelope-from ) id 1Qh8YI-0005TP-RI for emacs-orgmode@gnu.org; Wed, 13 Jul 2011 17:09:11 -0600 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org 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