[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TASK] Allow customizeable ditaa executable in ob-ditaa.el
From: |
Leo Butler |
Subject: |
Re: [TASK] Allow customizeable ditaa executable in ob-ditaa.el |
Date: |
Thu, 9 Nov 2023 03:17:07 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
On Sat, Oct 21 2023, Ihor Radchenko <yantar92@posteo.net> wrote:
> "Dr. Arne Babenhauserheide" <arne_bab@web.de> writes:
>
>>>> 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.
>
> +1
> This is a relatively simple task.
> One can indeed use ob-plantuml as a reference to extend ob-ditaa.
> Patches welcome!
While I was reviewing the documentation, ob-doc-ditaa.org, and the
source, ob-ditaa.el, I realized that there is a simple way to run a
script file instead of a jar file. The documentation patch includes such
an example.
Leo
0001-org-contrib-babel-languages-ob-doc-ditaa.org-update-.patch
Description: 0001-org-contrib-babel-languages-ob-doc-ditaa.org-update-.patch
- Re: [TASK] Allow customizeable ditaa executable in ob-ditaa.el,
Leo Butler <=
Re: [TASK] Allow customizeable ditaa executable in ob-ditaa.el, Ihor Radchenko, 2023/11/10