From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Ditaa and babel goofing again? Date: Wed, 1 Sep 2010 21:11:33 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=0015174c34fa62cbc9048f3924bb Return-path: Received: from [140.186.70.92] (port=39583 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oquan-0003Du-5o for emacs-orgmode@gnu.org; Wed, 01 Sep 2010 17:11:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oquak-0006j4-Rc for emacs-orgmode@gnu.org; Wed, 01 Sep 2010 17:11:36 -0400 Received: from mail-ew0-f41.google.com ([209.85.215.41]:56637) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oquak-0006io-Is for emacs-orgmode@gnu.org; Wed, 01 Sep 2010 17:11:34 -0400 Received: by ewy28 with SMTP id 28so5728533ewy.0 for ; Wed, 01 Sep 2010 14:11:33 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode --0015174c34fa62cbc9048f3924bb Content-Type: multipart/alternative; boundary=0015174c34fa62cbb6048f3924b9 --0015174c34fa62cbb6048f3924b9 Content-Type: text/plain; charset=ISO-8859-1 Hi, See this post for reference: http://www.mail-archive.com/emacs-orgmode@gnu.org/msg27725.html With that issue, ditaa just wasn't cooperating for some reason. Now everything *appears* to cooperate but I get no output! Completely baffled... Per the mailing list resolution above, I tried the exact same thing: - using the minimal.el file attached (with the path to my orgmode folder and ditaa path) - start emacs with "emacs -Q -l ~/path/to/minimal.el - C-c C-c on the #+begin_src line of this (the only thing in the .org file): #+begin_src ditaa :file example.png +---------------+ | | | ditaa example | | | +---------------+ #+end_src "Executing ditaa code block" flashes in the minibuffer, then "finished", and this is inserted into the file as one would expect: ---- #+results: file:example.png ---- but no example.png file is created! Just to check my sanity, I can create a file dit.txt with only this: +---------------+ | | | ditaa example | | | +---------------+ and run "java -jar ~/path/to/ditaa.jar dit.txt" and get an output picture just fine. The path in this command is the same as that in my .emacs config and in minimal.el attached... What in the world is going on?!? Thanks, John P.S. In case it's really something I'm overlooking here's a copy and paste straight from my .emacs file of my ditaa pertinent stuff: (setq org-ditaa-jar-path "~/.elisp/org.git/contrib/scripts/ditaa.jar") (org-babel-do-load-languages 'org-babel-load-languages '((ditaa . t) (gnuplot . t))) --0015174c34fa62cbb6048f3924b9 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,


With that issue, ditaa just wasn't cooperating for some reas= on. Now everything appears=A0to cooperate but I get no output! Compl= etely baffled...

Per the mailing list resolution a= bove, I tried the exact same thing:
- using the minimal.el file attached (with the path to my orgmode fold= er and ditaa path)
- start emacs with "emacs -Q -l ~/path/to= /minimal.el
- C-c C-c on the #+begin_src line of this (the only t= hing in the .org file):

#+begin_src ditaa :file example.png
=A0= =A0+---------------+
=A0=A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0 |
<= div>=A0=A0| ditaa example |
=A0=A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0 |=
=A0=A0+---------------+
#+end_src

"Executing ditaa code block&q= uot; flashes in the minibuffer, then "finished", and this is inse= rted into the file as one would expect:

----
#+results:
file:example.png
----

but no example.png file is created!

Just t= o check my sanity, I can create a file dit.txt with only this:

+---------------+
=A0=A0| =A0 =A0 =A0 =A0 =A0= =A0 =A0 |
=A0=A0| ditaa example |
=A0=A0| =A0 =A0 =A0 = =A0 =A0 =A0 =A0 |
=A0=A0+---------------+

and run "java -jar ~/path/to/ditaa.jar dit.txt" and get a= n output picture just fine. The path in this command is the same as that in= my .emacs config and in minimal.el attached...

What in the world is going on?!?


Thanks,
John

P.S. In c= ase it's really something I'm overlooking here's a copy and pas= te straight from my .emacs file of my ditaa pertinent stuff:

(setq org-ditaa-jar-path "~/.elisp/org.git/co= ntrib/scripts/ditaa.jar")
(org-babel-do-load-languages
=
=A0'org-babel-load-languages
=A0'((ditaa . t)
<= div> =A0=A0(gnuplot . t)))
--0015174c34fa62cbb6048f3924b9-- --0015174c34fa62cbc9048f3924bb Content-Type: text/x-emacs-lisp; charset=US-ASCII; name="minimal.el" Content-Disposition: attachment; filename="minimal.el" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gdkoh6670 KGFkZC10by1saXN0ICdsb2FkLXBhdGggIn4vLmVsaXNwL29yZy5naXQvbGlzcC8iKQoocmVxdWly ZSAnb3JnLWluc3RhbGwpCgooc2V0cSBvcmctZGl0YWEtamFyLXBhdGggIn4vLmVsaXNwL29yZy5n aXQvY29udHJpYi9zY3JpcHRzL2RpdGFhLmphciIpCihvcmctYmFiZWwtZG8tbG9hZC1sYW5ndWFn ZXMKICdvcmctYmFiZWwtbG9hZC1sYW5ndWFnZXMKICcoKGRpdGFhIC4gdCkKICAgKGdudXBsb3Qg LiB0KSkpCg== --0015174c34fa62cbc9048f3924bb Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --0015174c34fa62cbc9048f3924bb--