Eric Luo eric.we...@gmail.com writes:
Eric S Fraga e.fr...@ucl.ac.uk writes:
What was the snippet? (or at least a minimal version of one that
exhibits the problem)
Sorry for my mistake, I've forgotten the snippet, actually no matter
what i put in the block, the image couldn't be opened if the
generated it in orgmode.
Anyway, what the snippet is:
#+begin_src ditaa :file ~/test.png
test
#+end_src
Now *this* is what I call a minimal example! ;-)
In any case, it works for me just fine. Excerpt from the *Messages*
buffer:
--8---cut here---start-8---
executing Ditaa code block...
java -jar /home/ucecesf/git/org-mode/contrib/scripts/ditaa.jar
/tmp/babel-244564L/ditaa-24454bP /home/ucecesf/test.png
ditaa version 0.9, Copyright (C) 2004--2009 Efstathios (Stathis) Sideris
Running with options:
Reading file: /tmp/babel-244564L/ditaa-24454bP
Locale: en_GB
Dialog.bold
Rendering to file: /home/ucecesf/test.png
Done in 0sec
Code block evaluation complete.
--8---cut here---end---8---
The only difference I see between your messages and mine is the locale
(and I have Dialog.bold instead of just Dialog for some reason but I
don't know what that means...).
What version of org are you using? How do you open the .png file?
--
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.5 (release_7.5.55.g87c42.dirty)