[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] The ditaa picture
From: |
Eric Schulte |
Subject: |
Re: [Orgmode] The ditaa picture |
Date: |
Sat, 30 Jan 2010 17:46:52 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (gnu/linux) |
Hi Chao,
I don't believe that it is currently possible to customize the file
names in the ways you have described using the standard begin_ditaa
blocks. It is possible to have complete control over the file names
using org-babel, in which case the corresponding block would look like
--------
#+begin_src ditaa :file communication.png :exports results
blabla
#+end_src
--------
then the image will be created on export, and you can also preview the
image by pressing C-c C-o on the block.
To activate org-babel add the following to your Emacs configuration
(require 'org-babel-init)
(require 'org-babel-ditaa)
Best -- Eric
Chao Lu <address@hidden> writes:
> Dear all,
>
> When I'm using the ditaa in a org file called pearl.org, by
>
> --------
> #+begin_ditaa communication.png
>
> blabla
>
> #+end_ditaa
> --------
>
> It generates a file called
> communication_5e2f49c31c46339e8e3af9ef8a2fd2dfa3d1fe74.png,
> but this picture is right located at the same file as the org
> file(pearl.org). Is it
> possible to let it go to certain dir like the latex pictures do? And is it
> possible to
> let the generated picture has the prefix of the org file name automatically,
> like
> org_communication_5e2f49c31c46339e8e3af9ef8a2fd2dfa3d1fe74.png?
>
> Thanks,
>
> Chao
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode