emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: Markus Heller <hellerm2@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: ditaa set-up on windows box
Date: Fri, 24 Sep 2010 22:50:57 -0500	[thread overview]
Message-ID: <AANLkTimNkuKxaBvUToFkNREk3pRK+_nZTipyqeszA0yZ@mail.gmail.com> (raw)
In-Reply-To: <0vhbher9pp.fsf@gmail.com>


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

Interesting. I use Linux but have a Win XP box at work and set up Org-mode
for a co-worker so that I would know how to set it up on Windows for him. I
didn't have any trouble, actually.

I just put:
(setq org-ditaa-jar-path "C:/Program
Files/emacs23/org.git/contrib/scripts/ditaa.jar")

and

(org-babel-do-load-languages
 'org-babel-load-languages
 '((ditaa . t)))

in init.el and all worked fine. One thing you might try is running ditaa
right from the command line. I haven't done this on Windows, but the Linux
command would be:

Make the file "ditaa.txt" and copy this into it (from
http://ditaa.sourceforge.net/):

    +--------+   +-------+    +-------+
    |        | --+ ditaa +--> |       |
    |  Text  |   +-------+    |diagram|
    |Document|   |!magic!|    |       |
    |     {d}|   |       |    |       |
    +---+----+   +-------+    +-------+
        :                         ^
        |       Lots of work      |

+-------------------------+

Save the file and run "java -jar /path/to/ditaa.jar ditaa.txt" and see what
happens.

If it works, something's goofed with the org-mode setup. If it doesn't work,
something else is goofy.

Sorry I can't help more!
John


On Fri, Sep 24, 2010 at 6:41 PM, Markus Heller <hellerm2@gmail.com> wrote:

> Hello everyone,
>
> this might be a little OT, but I'm having a hard time to get ditaa to
> run properly.  The org-mode part works, it's the Java part that's giving
> me trouble, I'm getting loads of "Exception in thread "main"
> java.lang.misc stuff goes here" errors, and I have no Java experience
> whatsoever.
>
> I'm on a windoze XP box, and I was wondering if a fellow user might be
> willing to share his/her set-up.
>
> Thanks and Cheers
> Markus
>
>
> _______________________________________________
> 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
>

[-- Attachment #1.2: Type: text/html, Size: 3365 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

  reply	other threads:[~2010-09-25  3:51 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-24 23:41 ditaa set-up on windows box Markus Heller
2010-09-25  3:50 ` John Hendy [this message]
2010-09-25 13:54 ` Sebastian Rose
2010-09-27 16:55   ` Markus Heller
2010-09-27 17:08     ` Sebastian Rose
2010-09-27 17:11     ` Sebastian Rose
2010-09-27 17:28       ` Markus Heller
2010-09-27 21:04         ` Sebastian Rose
2010-09-27 22:04         ` John Hendy
2010-09-28 17:00           ` Achim Gratz
2010-09-29 16:04             ` Carsten Dominik
2010-09-29 17:27               ` Markus Heller
2010-09-29 17:48                 ` Achim Gratz
2010-09-29 18:01                   ` Markus Heller
2010-09-29 18:17                     ` Achim Gratz
2010-09-29 20:15                       ` Markus Heller
2010-09-25 13:56 ` AW: " Martin Stemplinger

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=AANLkTimNkuKxaBvUToFkNREk3pRK+_nZTipyqeszA0yZ@mail.gmail.com \
    --to=jw.hendy@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=hellerm2@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).