From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: DiTAA graph not in local directory Date: Fri, 06 Nov 2009 10:06:37 -0500 Message-ID: <87vdhnr8ua.fsf@gollum.intra.norang.ca> References: <87iqdnzpw7.fsf@mundaneum.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N6QOw-0006z5-99 for emacs-orgmode@gnu.org; Fri, 06 Nov 2009 10:06:58 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N6QOr-0006xp-NZ for emacs-orgmode@gnu.org; Fri, 06 Nov 2009 10:06:57 -0500 Received: from [199.232.76.173] (port=58101 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N6QOr-0006xl-7t for emacs-orgmode@gnu.org; Fri, 06 Nov 2009 10:06:53 -0500 Received: from plane.gmane.org ([80.91.229.3]:60367) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N6QOq-0000zv-Ky for emacs-orgmode@gnu.org; Fri, 06 Nov 2009 10:06:52 -0500 Received: from public by plane.gmane.org with local (Exim 4.63) (envelope-from ) id 1N6QOj-00068x-JA for emacs-orgmode@gnu.org; Fri, 06 Nov 2009 16:06:45 +0100 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: =?utf-8?Q?S=C3=A9bastien?= Vauban Cc: public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org S=C3=A9bastien Vauban writes: > I try to generate the following DiTAA graph for LaTeX inclusion. > > It's in my Org file `~/dir1/dir2/ecm.org': > > --8<---------------cut here---------------start------------->8--- > * Context > > This comes from norang.ca. > > #+begin_ditaa communication.png -r -s 0.8 > +-----------+ +---------+ > | PLC | | | > | Network +<------>+ PLC + > | cRED | | c707 | > +-----------+ +----+----+ > #+end_ditaa > --8<---------------cut here---------------end--------------->8--- > > When exporting to LaTeX, the image is well generated, but in my `~/' > directory. Not in `~/dir1/dir2/', hence not found by LaTeX. > > Note that adding `./' to the ditaa command does not change anything... > > --8<---------------cut here---------------start------------->8--- > #+begin_ditaa ./communication.png -r -s 0.8 > --8<---------------cut here---------------end--------------->8--- > > What can I do to have the resulting graphic local to the Org file? Hi Seb, That's not how my version of org-mode works. My exported communication.png is local to the org file. I just created your example in ~/nobackup/tmp/foo.org and exported to latex and it creates communication.png in ~/nobackup/tmp/communication.png Org-mode version 6.32trans (release_6.32b.122.g41496) GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-11-09 on raven, modified by Debian Now if I change the working directory with M-x cd and enter ~ then export it does what you see. Maybe your default directory is not the location of your org file? -Bernt