From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Gauland Subject: Re: org-babel generated images and +ATTR_LATEX Date: Wed, 23 Oct 2013 20:50:14 +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]:37726) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZ5OA-000856-5P for emacs-orgmode@gnu.org; Wed, 23 Oct 2013 16:50:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VZ5O2-00071Q-N2 for emacs-orgmode@gnu.org; Wed, 23 Oct 2013 16:50:46 -0400 Received: from plane.gmane.org ([80.91.229.3]:44294) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZ5O2-00071D-9A for emacs-orgmode@gnu.org; Wed, 23 Oct 2013 16:50:38 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VZ5Nz-00032A-FP for emacs-orgmode@gnu.org; Wed, 23 Oct 2013 22:50:36 +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 ; Wed, 23 Oct 2013 22:50:35 +0200 Received: from mikelygee by 218-101-54-25.trimble.co.nz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Oct 2013 22:50:35 +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, I think you want to use named results. My images typically look something like this: #+NAME: architecture #+HEADER: :exports results #+HEADER: :file (org-babel-temp-file "./figure-" ".eps") #+HEADER: :cache yes #+BEGIN_SRC plantuml ... #+END_SRC #+NAME: fig-architecture #+CAPTION: Overview of mini-me architecture. #+ATTR_LaTeX: :width \textwidth :placement [h!bt] #+RESULTS: architecture [[file:c:/Users/mgauland/AppData/Local/Temp/babel-5988Tli/figure-5988XRB.eps]] Does that help? Kind Regards, Mike