From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Gauland Subject: Re: org-babel generated images and +ATTR_LATEX Date: Thu, 24 Oct 2013 20:14:34 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52076) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZRJE-0000Un-5r for emacs-orgmode@gnu.org; Thu, 24 Oct 2013 16:15:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VZRJ6-0003jK-MS for emacs-orgmode@gnu.org; Thu, 24 Oct 2013 16:15:08 -0400 Received: from plane.gmane.org ([80.91.229.3]:40576) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZRJ6-0003iV-GF for emacs-orgmode@gnu.org; Thu, 24 Oct 2013 16:15:00 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VZRJ3-0002vz-DJ for emacs-orgmode@gnu.org; Thu, 24 Oct 2013 22:14:57 +0200 Received: from 218-101-54-25.trimble.co.nz ([218.101.54.25]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Oct 2013 22:14:57 +0200 Received: from mikelygee by 218-101-54-25.trimble.co.nz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Oct 2013 22:14:57 +0200 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 Mark Edgington gmail.com> writes: > Anyhow, something that wasn't clear to me about your example is how you make > the filename which is generated via org-babel-temp-file available for use > within the code-block? Babel takes care of that (plantuml interprets the :file argument as the name of the file it should generate). I'm not sure the best way to get the file name in to a Python block. You could probably pass the generated name in as a :var parmater.