[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: org-ditaa woes
From: |
Dr. Arne Babenhauserheide |
Subject: |
Re: org-ditaa woes |
Date: |
Sat, 21 Oct 2023 09:44:46 +0200 |
User-agent: |
mu4e 1.10.7; emacs 30.0.50 |
Florin Boariu <florin.om@rootshell.ro> writes:
> Replying to Arne's comment:
>
>> In my current source I see [...]
>>
>> (use C-h v org-babel-ditaa-java-cmd to see the value of the java
>> executable — you can then customize this to use a different command)
>
> As far as I understand that part of code it still kind-of assumes that
> I'm using a command line of type "java -jar ditaa.jar ...", just with
> more flexibility in choosing which "java" command I'm using, right?
Yes, it does. ob-plantuml already migrated to allow a regular command,
but ob-ditaa still only enables using the jar directly.
That is something which would be nice to fix — and ob-plantuml should
show the path forward.
> I've just tried setting org-babel-ditaa-java-cmd to "/usr/bin/ditaa",
> and org-ditaa-jar-option to "", but now the error is something like:
>
>> /usr/bin/ditaa /orgfile/base/folder \
>> /tmp/babel-0YxwcE/ditaa-NyIQwH \
>> /orgfile/base/folder/network.png
>
> where "/orgfile/base/folder" is the dirname of the full path of my
> .org file (e.g. something like /orgfile/base/folder/file.org).
>
> So org-ditaa apparently somewhere still tries to set a work directory
> (or so?) after the org-ditaa-jar-option part. I'm not exactly sure
> which code version the current Emacs Flatpak has, and I don't know how
> to look (I'm not *that* much of a Flatpak nerd :-p ) But if I had to
> bet, I'd assume it's a fairly recent one.
If you do the C-h v org-ditaa-jar-option command, you should normally
have a link to ob-ditaa.el in your help buffer. You can click that to
get the source.
Best wishes,
Arne
--
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
signature.asc
Description: PGP signature
- Re: org-ditaa woes, (continued)
- Re: org-ditaa woes, Dr. Arne Babenhauserheide, 2023/10/20
- Re: org-ditaa woes, Florin Boariu, 2023/10/20
- Re: org-ditaa woes, Max Nikulin, 2023/10/20
- Re: org-ditaa woes, Florin Boariu, 2023/10/23
- Re: org-ditaa woes, Max Nikulin, 2023/10/24
- Re: org-ditaa woes, Florin Boariu, 2023/10/24
- Re: org-ditaa woes, Ihor Radchenko, 2023/10/24
- Re: org-ditaa woes, Leo Butler, 2023/10/25
- Re: org-ditaa woes, Florin Boariu, 2023/10/23
- Re: org-ditaa woes,
Dr. Arne Babenhauserheide <=
- [TASK] Allow customizeable ditaa executable in ob-ditaa.el (was: org-ditaa woes), Ihor Radchenko, 2023/10/21