emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Eric Luo <eric.wenbl@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: [Babel] why did ob-ditaa generate image file fail in orgmode?
Date: Wed, 16 Mar 2011 15:06:19 +0000	[thread overview]
Message-ID: <8762rjyuj8.fsf@ucl.ac.uk> (raw)
In-Reply-To: <m27hbz2k37.fsf@gmail.com> (Eric Luo's message of "Wed, 16 Mar 2011 22:53:00 +0800")

Eric Luo <eric.wenbl@gmail.com> writes:

> Eric S Fraga <e.fraga@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)

  reply	other threads:[~2011-03-16 15:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-16 14:19 [Babel] why did ob-ditaa generate image file fail in orgmode? Eric Luo
2011-03-16 14:39 ` Eric S Fraga
2011-03-16 14:53   ` Eric Luo
2011-03-16 15:06     ` Eric S Fraga [this message]
2011-03-17 14:27       ` Eric Luo
2011-03-16 15:31 ` Eric Schulte

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8762rjyuj8.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=eric.wenbl@gmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).