emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Sebastian Rose <sebastian_rose@gmx.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: ditaa.jar not found
Date: Fri, 19 Jun 2009 15:35:53 +0200	[thread overview]
Message-ID: <6B10DE15-E3FA-4525-8D68-0B62CD678871@gmail.com> (raw)
In-Reply-To: <87k538vc6m.fsf@kassiopeya.MSHEIMNETZ>

Applied, thanks.

- Carsten

On Jun 19, 2009, at 10:51 AM, Sebastian Rose wrote:

>
> The path to ditaa.jar seems to have changed.
>
>
> Debugger entered--Lisp error: (error "Could not find ditaa.jar at
>  /home/sebastian/emacs/lisp/ext/org-mode/scripts/ditaa.jar")
>  signal(error ("Could not find ditaa.jar at
>  /home/sebastian/emacs/lisp/ext/org-mode/scripts/ditaa.jar"))
> ....
>
>
> This patch fixes it:
>
>
> diff --git a/lisp/org-exp-blocks.el b/lisp/org-exp-blocks.el
> index 56adb9f..8d6ad60 100644
> --- a/lisp/org-exp-blocks.el
> +++ b/lisp/org-exp-blocks.el
> @@ -223,8 +223,10 @@ specified in BLOCKS which default to the value of
> 			  "scripts"
> 			  (file-name-as-directory
> 			   (expand-file-name
> +			    "contrib"
> +			   (expand-file-name
> 			    ".."
> -			    (file-name-directory (or load-file-name buffer-file- 
> name)))))))
> +			    (file-name-directory (or load-file-name buffer-file- 
> name))))))))
>   "Path to the ditaa jar executable")
>
> (defun org-export-blocks-format-ditaa (body &rest headers)
>
>
>   Sebastian
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

      reply	other threads:[~2009-06-19 13:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-19  8:51 ditaa.jar not found Sebastian Rose
2009-06-19 13:35 ` Carsten Dominik [this message]

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=6B10DE15-E3FA-4525-8D68-0B62CD678871@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=sebastian_rose@gmx.de \
    /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).