* Re: [Orgmode] configuring org-export-latex-classes
@ 2012-01-03 10:05 Waldemar Reusch
2012-01-03 10:29 ` Waldemar Reusch
0 siblings, 1 reply; 3+ messages in thread
From: Waldemar Reusch @ 2012-01-03 10:05 UTC (permalink / raw)
To: Emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 466 bytes --]
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: 636 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Orgmode] configuring org-export-latex-classes
2012-01-03 10:05 [Orgmode] configuring org-export-latex-classes Waldemar Reusch
@ 2012-01-03 10:29 ` Waldemar Reusch
2012-01-04 10:23 ` Bastien
0 siblings, 1 reply; 3+ messages in thread
From: Waldemar Reusch @ 2012-01-03 10:29 UTC (permalink / raw)
To: Emacs-orgmode
[-- 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 --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Orgmode] configuring org-export-latex-classes
2012-01-03 10:29 ` Waldemar Reusch
@ 2012-01-04 10:23 ` Bastien
0 siblings, 0 replies; 3+ messages in thread
From: Bastien @ 2012-01-04 10:23 UTC (permalink / raw)
To: Waldemar Reusch; +Cc: Emacs-orgmode
Hi Waldemar,
There is now `org-ditaa-jar-option' that you can set like this:
(setq org-ditaa-jar-option "-jar c:/cygwin")
Thanks,
--
Bastien
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-01-04 10:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-03 10:05 [Orgmode] configuring org-export-latex-classes Waldemar Reusch
2012-01-03 10:29 ` Waldemar Reusch
2012-01-04 10:23 ` Bastien
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).