emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Re: [Babel] why did ob-ditaa generate image file fail in orgmode


From: Eric S Fraga
Subject: Re: [O] Re: [Babel] why did ob-ditaa generate image file fail in orgmode?
Date: Wed, 16 Mar 2011 15:06:19 +0000
User-agent: Gnus/5.110014 (No Gnus v0.14) Emacs/24.0.50 (gnu/linux)

Eric Luo <address@hidden> writes:

> Eric S Fraga <address@hidden> 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]