emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* ditaa and plantuml in PATH
@ 2016-03-28  0:53 Alexey Shmalko
  2016-03-28 17:18 ` Nick Dokos
  0 siblings, 1 reply; 3+ messages in thread
From: Alexey Shmalko @ 2016-03-28  0:53 UTC (permalink / raw)
  To: emacs-orgmode

Hi!

I use NixOS and ditaa is globally installed. That means I have ditaa
executable in PATH but no easy way to find a ditaa.jar file. There is
no way to instruct org-ditaa to use the specified executable (it
requires java and path to the ditaa jar file). Note also that I don't
have java in PATH.

I would like org-ditaa to use ditaa executable from the PATH. Same
goes for org-plantuml.

Regards,
Alexey Shmalko

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ditaa and plantuml in PATH
  2016-03-28  0:53 ditaa and plantuml in PATH Alexey Shmalko
@ 2016-03-28 17:18 ` Nick Dokos
  2016-03-28 23:03   ` briangpowell .
  0 siblings, 1 reply; 3+ messages in thread
From: Nick Dokos @ 2016-03-28 17:18 UTC (permalink / raw)
  To: emacs-orgmode

Alexey Shmalko <rasen.dubi@gmail.com> writes:

> Hi!
>
> I use NixOS and ditaa is globally installed. That means I have ditaa
> executable in PATH but no easy way to find a ditaa.jar file. There is
> no way to instruct org-ditaa to use the specified executable (it
> requires java and path to the ditaa jar file). Note also that I don't
> have java in PATH.
>
> I would like org-ditaa to use ditaa executable from the PATH. Same
> goes for org-plantuml.
>

Does setting org-babel-ditaa-java-cmd to "ditaa" help? Maybe in
combination with setting org-ditaa-jar-path to nil or ""?

--
Nick

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ditaa and plantuml in PATH
  2016-03-28 17:18 ` Nick Dokos
@ 2016-03-28 23:03   ` briangpowell .
  0 siblings, 0 replies; 3+ messages in thread
From: briangpowell . @ 2016-03-28 23:03 UTC (permalink / raw)
  To: Nick Dokos; +Cc: emacs-orgmode

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

I remember looking into NixOS years ago and it was very interesting--also
looked into "GNU Stow" and it may help you
with PATH problems: https://www.gnu.org/software/stow

GNU Stow comes with NixOS:
https://github.com/NixOS/nixpkgs/tree/master/pkgs/tools/misc/stow

On Mon, Mar 28, 2016 at 1:18 PM, Nick Dokos <ndokos@gmail.com> wrote:

> Alexey Shmalko <rasen.dubi@gmail.com> writes:
>
> > Hi!
> >
> > I use NixOS and ditaa is globally installed. That means I have ditaa
> > executable in PATH but no easy way to find a ditaa.jar file. There is
> > no way to instruct org-ditaa to use the specified executable (it
> > requires java and path to the ditaa jar file). Note also that I don't
> > have java in PATH.
> >
> > I would like org-ditaa to use ditaa executable from the PATH. Same
> > goes for org-plantuml.
> >
>
> Does setting org-babel-ditaa-java-cmd to "ditaa" help? Maybe in
> combination with setting org-ditaa-jar-path to nil or ""?
>
> --
> Nick
>
>
>

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-03-28 23:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-28  0:53 ditaa and plantuml in PATH Alexey Shmalko
2016-03-28 17:18 ` Nick Dokos
2016-03-28 23:03   ` briangpowell .

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).