emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Waldemar Reusch <waldemar.reusch@googlemail.com>
To: Emacs-orgmode@gnu.org
Subject: Re: [Orgmode] configuring org-export-latex-classes
Date: Tue, 3 Jan 2012 11:29:25 +0100	[thread overview]
Message-ID: <CABwL-Ui11i+qOXEhYRPse2oEhO0CBPqrJLCio63enZi06B6A5g@mail.gmail.com> (raw)
In-Reply-To: <CABwL-UjJFXfH_2KsJSx9CJnvEMbwRy9AtFzADykKc5AEC=0vpQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1171 bytes --]

okay, nevermind, i figured it out myself.
need to hack "ob-ditaa.el":
look for the line (cmd (concat "java" .... and insert your cygwin path
(e.g. c:/cygwin) just before shell-quote-argument,
org-babel-process-file-name in-file and org-babel-process-file-name
out-file, so that it will look like this:

(cmd (concat "java " java " -jar c:/cygwin"
      (shell-quote-argument
       (expand-file-name org-ditaa-jar-path))
      " " cmdline
      " c:/cygwin" (org-babel-process-file-name in-file)
      " c:/cygwin" (org-babel-process-file-name out-file))))

hopefully this will help someone.

On Tue, Jan 3, 2012 at 11:05 AM, Waldemar Reusch <
waldemar.reusch@googlemail.com> wrote:

> http://www.mail-archive.com/emacs-orgmode@gnu.org/msg21593.html
>
> im trying to set up ditaa on my cygwin/windows7 machine and encountered
> the very same problem as described in the above mentioned mail, i.e. the
> error "jar not accessible".
> i tried to fix it by hacking org-exp-blocks, but it does not seem to make
> any difference. when i check the *Messages* buffer, the path to ditaa.jar
> is unchanged.
> If anyone has this one figured out, i would appreciate your help.
>
>

[-- Attachment #2: Type: text/html, Size: 2114 bytes --]

  reply	other threads:[~2012-01-03 10:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-03 10:05 [Orgmode] configuring org-export-latex-classes Waldemar Reusch
2012-01-03 10:29 ` Waldemar Reusch [this message]
2012-01-04 10:23   ` Bastien

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=CABwL-Ui11i+qOXEhYRPse2oEhO0CBPqrJLCio63enZi06B6A5g@mail.gmail.com \
    --to=waldemar.reusch@googlemail.com \
    --cc=Emacs-orgmode@gnu.org \
    /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).