From: Bernt Hansen <bernt@norang.ca>
To: "Sébastien Vauban"
<public-wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@plane.gmane.org>
Cc: public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org
Subject: Re: DiTAA graph not in local directory
Date: Fri, 06 Nov 2009 10:06:37 -0500 [thread overview]
Message-ID: <87vdhnr8ua.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: 87iqdnzpw7.fsf@mundaneum.com
Sébastien Vauban <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
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
next prev parent reply other threads:[~2009-11-06 15:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-06 14:31 DiTAA graph not in local directory Sébastien Vauban
2009-11-06 15:06 ` Bernt Hansen [this message]
2009-11-09 9:34 ` Sébastien Vauban
2009-11-09 14:37 ` Bernt Hansen
2009-11-10 9:01 ` Sébastien Vauban
2009-11-10 12:41 ` Bernt Hansen
[not found] ` <87iqdiys4s.fsf@gmx.de>
2009-11-10 21:55 ` Bernt Hansen
2009-11-06 17:06 ` Carsten Dominik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87vdhnr8ua.fsf@gollum.intra.norang.ca \
--to=bernt@norang.ca \
--cc=public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org \
--cc=public-wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@plane.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.