From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Daniel J. Sinder" Subject: Re: About Ditaa Date: Wed, 27 Jan 2010 18:17:56 -0800 Message-ID: <4B60F3D4.20507@gmail.com> References: <3cbb63d01001271355h3e70143bnd85b024b6943273e@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NaJxK-0004dx-Ia for emacs-orgmode@gnu.org; Wed, 27 Jan 2010 21:18:02 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NaJxG-0004bY-Sn for emacs-orgmode@gnu.org; Wed, 27 Jan 2010 21:18:02 -0500 Received: from [199.232.76.173] (port=35066 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NaJxG-0004bM-ND for emacs-orgmode@gnu.org; Wed, 27 Jan 2010 21:17:58 -0500 Received: from caiajhbdcbhh.dreamhost.com ([208.97.132.177]:41217 helo=randymail-a4.g.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NaJxF-0005B2-VT for emacs-orgmode@gnu.org; Wed, 27 Jan 2010 21:17:58 -0500 In-Reply-To: <3cbb63d01001271355h3e70143bnd85b024b6943273e@mail.gmail.com> 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: Chao Lu Cc: emacs-orgmode@gnu.org As Chao Lu so eloquently wrote on 1/27/2010 1:55 PM: > I'm trying to power my org with the ditaa block generator, so I > downloaded the jar file, and put it in > ~/.emacs.d/org/var/ditaa0_9.jar. Then I include "(setq > org-ditaa-jar-path "~/.emacs.d/org/var/ditaa0_9.jar")" in my .emacs. > > However it seems not work well, I do get some results like > blue-a-lot-of-random-digi.png in the exported html, but no picture. So > I went to check the *Message*, finding "Unable to access jarfile > ~/.emacs.d/org/var/ditaa0_9.jar". Could not figure out why, does > anybody have some idea? I had a similar problem a while back due to my running emacs under Cygwin while JRE is actually a native Windows app. Thus, the Windows JRE doesn't understand the jarfile path. I had to hack org-exp-blocks.el to use cygwin-path-to-windows in a few places. Of course, my issue could be completely unrelated, but without more information about your setup we're all flying blind. Dan