From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: problem with babel and dot Date: Fri, 12 Feb 2016 18:28:18 +0000 Message-ID: <87io1tu6kd.fsf@ucl.ac.uk> References: <87y4apucoy.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43813) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUISB-0006eg-95 for emacs-orgmode@gnu.org; Fri, 12 Feb 2016 13:28:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUIS8-0005mu-3f for emacs-orgmode@gnu.org; Fri, 12 Feb 2016 13:28:27 -0500 Received: from mail-am1on0103.outbound.protection.outlook.com ([157.56.112.103]:36574 helo=emea01-am1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUIS7-0005jX-Qf for emacs-orgmode@gnu.org; Fri, 12 Feb 2016 13:28:24 -0500 In-Reply-To: <87y4apucoy.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Fri, 12 Feb 2016 16:15:57 +0000") 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 I've had a suggestion to use ":wrap src dot" for my elisp code, to avoid using internal API calls. This is a good suggestion but I cannot figure out how to actually accomplish what I want. Basically, I want to #+call: a src block which takes my tables as arguments, uses my elisp code to generate a suitable DOT input and then invokes DOT on that input to generate an image file specified on the call invocation: tables -> emacs lisp -> dot -> pdf file I think that a creative use of :post may do it but I cannot get my head around how to invoke the various bits and/or pass the data I need. Thanks, eric -- : Eric S Fraga (0xFFFCF67D), Emacs 25.0.90.1, Org release_8.3.3-565-g4f499f