From mboxrd@z Thu Jan 1 00:00:00 1970 From: "briangpowell ." Subject: Re: ditaa and plantuml in PATH Date: Mon, 28 Mar 2016 19:03:03 -0400 Message-ID: References: <87io064j37.fsf@alphaville.usersys.redhat.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113f061c32bce9052f23eaa6 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58686) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akgC0-0003yC-AG for emacs-orgmode@gnu.org; Mon, 28 Mar 2016 19:03:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1akgBc-0004wz-01 for emacs-orgmode@gnu.org; Mon, 28 Mar 2016 19:03:28 -0400 Received: from mail-oi0-x22c.google.com ([2607:f8b0:4003:c06::22c]:35105) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akgBb-0004wX-PP for emacs-orgmode@gnu.org; Mon, 28 Mar 2016 19:03:03 -0400 Received: by mail-oi0-x22c.google.com with SMTP id h6so134553215oia.2 for ; Mon, 28 Mar 2016 16:03:03 -0700 (PDT) In-Reply-To: <87io064j37.fsf@alphaville.usersys.redhat.com> 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: Nick Dokos Cc: emacs-orgmode --001a113f061c32bce9052f23eaa6 Content-Type: text/plain; charset=UTF-8 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 wrote: > Alexey Shmalko 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 > > > --001a113f061c32bce9052f23eaa6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I remember looking into NixOS years ago and it was very in= teresting--also looked into "GNU Stow" and it may help you
wi= th PATH problems:=C2=A0https:= //www.gnu.org/software/stow


On Mon, Mar 28, 2016 at 1:18 PM, Nick Dokos <ndokos@gmail.com>= wrote:
Alexey Sh= malko <rasen.dubi@gmail.com&= gt; 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<= br> > 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= 9;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? May= be in
combination with setting org-ditaa-jar-path to nil or ""?

--
Nick



--001a113f061c32bce9052f23eaa6--