From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: problem with babel and dot Date: Sat, 13 Feb 2016 11:00:25 +0000 Message-ID: <87vb5sswmu.fsf@ucl.ac.uk> References: <87y4apucoy.fsf@ucl.ac.uk> <87io1tu6kd.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54044) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUXwM-0004GU-QY for emacs-orgmode@gnu.org; Sat, 13 Feb 2016 06:00:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUXwJ-0002xi-KA for emacs-orgmode@gnu.org; Sat, 13 Feb 2016 06:00:38 -0500 Received: from mail-am1on0146.outbound.protection.outlook.com ([157.56.112.146]:35963 helo=emea01-am1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUXwJ-0002uV-0b for emacs-orgmode@gnu.org; Sat, 13 Feb 2016 06:00:35 -0500 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: emacs-orgmode@gnu.org Okay, I have figured this out and here is the solution in case anybody else wants to do something like this: 1. create a very simple dot src block: #+begin_src org ,#+name: generate-graph ,#+begin_src dot :var graph="digraph {}" :file graph.pdf $graph ,#+end_src #+end_src 2. call the original tables -> graph block with a :post command to invoke this new block: #+begin_src org ,#+call: graph-from-tables(options="rankdir=LR;",nodes=subtasks-table[2:-1],graph=dependency-table[2:-1]) :exports results :results file :post generate-graph[:results file :exports results :file dependency-graph.pdf](graph=*this*) #+end_src This works like a charm. There are probably superfluous settings but this over-specified combination does what I want! Sorry for all the noise. As always, power comes with complexity and babel is definitely powerful. If org is the killer app for emacs, then babel is the killer app for org! thanks, eric -- : Eric S Fraga (0xFFFCF67D), Emacs 25.0.90.1, Org release_8.3.3-565-g4f499f