emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* About Ditaa
@ 2010-01-27 21:55 Chao Lu
  2010-01-28  0:01 ` Óscar Fuentes
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Chao Lu @ 2010-01-27 21:55 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 544 bytes --]

Dear all,

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?

All the best,

Chao

[-- Attachment #1.2: Type: text/html, Size: 621 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: About Ditaa
  2010-01-27 21:55 About Ditaa Chao Lu
@ 2010-01-28  0:01 ` Óscar Fuentes
  2010-01-28  2:17 ` Daniel J. Sinder
  2010-01-28 12:53 ` Bernt Hansen
  2 siblings, 0 replies; 4+ messages in thread
From: Óscar Fuentes @ 2010-01-28  0:01 UTC (permalink / raw)
  To: emacs-orgmode; +Cc: Chao Lu

Chao Lu <loochao@gmail.com> writes:

[snip]

> "Unable to access jarfile
> ~/.emacs.d/org/var/ditaa0_9.jar". Could not figure out why, does anybody
> have some idea?

Check that the file's permissions allows reading for all.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: About Ditaa
  2010-01-27 21:55 About Ditaa Chao Lu
  2010-01-28  0:01 ` Óscar Fuentes
@ 2010-01-28  2:17 ` Daniel J. Sinder
  2010-01-28 12:53 ` Bernt Hansen
  2 siblings, 0 replies; 4+ messages in thread
From: Daniel J. Sinder @ 2010-01-28  2:17 UTC (permalink / raw)
  To: Chao Lu; +Cc: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: About Ditaa
  2010-01-27 21:55 About Ditaa Chao Lu
  2010-01-28  0:01 ` Óscar Fuentes
  2010-01-28  2:17 ` Daniel J. Sinder
@ 2010-01-28 12:53 ` Bernt Hansen
  2 siblings, 0 replies; 4+ messages in thread
From: Bernt Hansen @ 2010-01-28 12:53 UTC (permalink / raw)
  To: Chao Lu; +Cc: emacs-orgmode

Chao Lu <loochao@gmail.com> writes:

> 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.

FYI:

There's a ditaa.jar distributed with org-mode in the contrib/scripts
directory.

-Bernt

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-01-28 12:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-27 21:55 About Ditaa Chao Lu
2010-01-28  0:01 ` Óscar Fuentes
2010-01-28  2:17 ` Daniel J. Sinder
2010-01-28 12:53 ` Bernt Hansen

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).