From mboxrd@z Thu Jan 1 00:00:00 1970 From: Waldemar Reusch Subject: Re: [Orgmode] configuring org-export-latex-classes Date: Tue, 3 Jan 2012 11:29:25 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d044285f25d195004b59d2c83 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:47571) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ri1cY-0006Td-Vw for Emacs-orgmode@gnu.org; Tue, 03 Jan 2012 05:29:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ri1cU-00019k-Nf for Emacs-orgmode@gnu.org; Tue, 03 Jan 2012 05:29:30 -0500 Received: from mail-tul01m020-f169.google.com ([209.85.214.169]:54630) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ri1cU-00019b-GL for Emacs-orgmode@gnu.org; Tue, 03 Jan 2012 05:29:26 -0500 Received: by obcwo8 with SMTP id wo8so15051429obc.0 for ; Tue, 03 Jan 2012 02:29:25 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Emacs-orgmode@gnu.org --f46d044285f25d195004b59d2c83 Content-Type: text/plain; charset=UTF-8 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. > > --f46d044285f25d195004b59d2c83 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable okay, nevermind, i figured it out myself.
need to hack "ob-ditaa.e= l":
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-fi= le, so that it will look like this:=C2=A0

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

hopefully this will help someone.

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

im trying to set up ditaa on my cygwin/windows7 m= achine and encountered the very same problem as described in the above ment= ioned mail, i.e. the error "jar not accessible".
i trie= d to fix it by hacking org-exp-blocks, but it does not seem to make any dif= ference. when i check the *Messages* buffer, the path to ditaa.jar is uncha= nged.
If anyone has this one figured out, i would appreciate your help.

--f46d044285f25d195004b59d2c83--