On Sat, Oct 21 2023, Ihor Radchenko wrote: > "Dr. Arne Babenhauserheide" 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