Re: org-ditaa woes

2023-10-24 Thread Florin Boariu
Hello, I hope, a couple of workarounds are still possible. 1. Get java command by adding bash -x (or /usr/bin/bash, or "/usr/bin/env bash") flatpak-spawn --host toolbox run bash -x /usr/bin/ditaa \ /tmp/foo.txt -o /tmp/foo.png - set `org-babel-ditaa-java-cmd' to something like

Re: org-ditaa woes

2023-10-23 Thread Florin Boariu
I heard everybody referencing "org-plantuml" several times here :-) I gave it a try, and, for reference, this is how my "org-plantuml" is being set up in my case: (org-babel-do-load-languages 'org-babel-load-languages '( [...] (plantuml . t) [...] )) (setq org-plantuml-exec-mode

Re: org-ditaa woes

2023-10-23 Thread Florin Boariu
On Sat, Oct 21, 2023 at 10:50:08AM +0700, Max Nikulin wrote: Does it work when executed from Emacs shell or eshell buffers? Could you, please, provide complete sequence of commands to generate a graphics file from a ditaa source for a shell running in Emacs? "M-x shell" and then: sh-5.1$

Re: org-ditaa woes

2023-10-20 Thread Florin Boariu
Can you give us the command-line you would like to use? That would help to fix the problem you are confronting. A "regular" one would be just simply "/usr/bin/ditaa": --- $ ditaa --help usage: java -jar ditaa.jar [OUTFILE] [-A] [-b ] [-d] [-E] [-e ] [-h] [--help] [-o] [-r]

org-ditaa woes

2023-10-20 Thread Florin Boariu
Hello everyone, I am not on the mailing list, so I'm hoping that some kind soul with moderator powers will have mercy and let my email through in a timely manner :-) Also, please CC me in on the answer. (I'll happily subscribe if you feel that I should, but this is likely to be my only encounter