From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: Re: [babel] dot in pdf directly Date: Tue, 10 Nov 2009 15:40:07 +0100 Message-ID: <87pr7q4f5k.fsf@gmx.de> References: <87fx8n72wn.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N7rtS-0003QO-53 for emacs-orgmode@gnu.org; Tue, 10 Nov 2009 09:40:26 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N7rtM-0003OG-Jw for emacs-orgmode@gnu.org; Tue, 10 Nov 2009 09:40:25 -0500 Received: from [199.232.76.173] (port=54335 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N7rtK-0003Nz-Rn for emacs-orgmode@gnu.org; Tue, 10 Nov 2009 09:40:19 -0500 Received: from mail.gmx.net ([213.165.64.20]:41864) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1N7rtK-0000Tf-6z for emacs-orgmode@gnu.org; Tue, 10 Nov 2009 09:40:18 -0500 In-Reply-To: (andrea Crotti's message of "Tue, 10 Nov 2009 06:20:40 +0000 (UTC)") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: andrea Crotti Cc: emacs-orgmode@gnu.org andrea Crotti writes: > Eric Schulte gmail.com> writes: > >> >> The two separate mechanisms are confusion, but for now are necessary to >> allow org-mode users to evaluate some simple block types (like dot) on >> export without having to load up all of org-babel. >> >> I hope the above isn't too confusing :) -- Eric >> > > > No no thanks a lot not it's very clear. > Coming back to my original question, am I able to insert directly > the eps generated in my final generated pdf?? > > Maybe I have to > #+begin_dot -Tpdf -o file.pdf > ... > #+end_dot > > And then somewhere write some latex code to include it? > #+begin_latex > \includegraphics.. > #+end_latex Yes, you can include the eps image like this at any point - not sure if you need to run the export twice, once the dot block changes. But the dot block itself will always be executed and replaced by the resulting image. This is absolutely fine in 99% of all cases. Suppose you want to refer to the image several times, how about this then: 1. Create a file your-org-directory/images/images.org 2. Put all images into that file, that you need to reference more than once, or that you need to be out of sight to avoid clutter. 3. Include your images using the relative path to ../your-org-directory/images/resulting-image.eps Sebastian