Leo Butler writes:
>> Writing a patch is also welcome.
>
> Here is a patch to the documentation. It documents currently
> undocumented *features* of ob-ditaa.
>
> I have *removed* mention of work-arounds to execute scripts. I have also
> taken the liberty of re-writing the two source blocks to
On Tue, Oct 24 2023, Ihor Radchenko wrote:
> Florin Boariu writes:
>
>> I can offer to try my luck with writing a patch for ob-ditaa.el, but
>> I'm not knowledgeable enough (or have enough time on my hands) to
>> actually keep maintaining it :-p
>
> Writing a patch is also welcome.
Here is a
On Tue, Oct 24 2023, Max Nikulin wrote:
> On 23/10/2023 18:18, Florin Boariu wrote:
>>
>>> sh-5.1$ flatpak-spawn --host toolbox run /usr/bin/ditaa
>>> /tmp/foo.txt -o /tmp/foo.png
>
> thanks
>
>> I really _need_ to generically execute a command.
>
> I hope, a couple of workarounds are still
Leo Butler writes:
>> Writing a patch is also welcome.
>
> I am looking at ob-ditaa. Patching it looks within my reach.
>
> Is there no testsuite for it?
No test suite. But you may refer to testing/lisp/test-ob-jave.el to see
how to write simple ob-* tests.
--
Ihor Radchenko // yantar92,
Org
On 26/10/2023 02:00, Leo Butler wrote:
I am looking at ob-ditaa. Patching it looks within my reach.
Is there no testsuite for it?
Unfortunately there is only a couple of examples at
https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-ditaa.html
On Tue, Oct 24 2023, Ihor Radchenko wrote:
> Florin Boariu writes:
>
>> I can offer to try my luck with writing a patch for ob-ditaa.el, but
>> I'm not knowledgeable enough (or have enough time on my hands) to
>> actually keep maintaining it :-p
>
> Writing a patch is also welcome.
I am
Florin Boariu writes:
> I can offer to try my luck with writing a patch for ob-ditaa.el, but
> I'm not knowledgeable enough (or have enough time on my hands) to
> actually keep maintaining it :-p
Writing a patch is also welcome.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more
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
On 23/10/2023 18:18, Florin Boariu wrote:
sh-5.1$ flatpak-spawn --host toolbox run /usr/bin/ditaa /tmp/foo.txt
-o /tmp/foo.png
thanks
I really _need_ to generically execute a command.
I hope, a couple of workarounds are still possible.
1. Get java command by adding bash -x (or
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
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$
"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
Florin Boariu 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
On 21/10/2023 04:39, Florin Boariu wrote:
$ flatpak-spawn --host toolbox run /usr/bin/ditaa --help
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
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]
On Fri, Oct 20 2023, "Dr. Arne Babenhauserheide" wrote:
> Leo Butler writes:
>
[...]
(cmd (concat "java " java " " org-ditaa-jar-option " "
(shell-quote-argument
(expand-file-name
(if eps
Leo Butler writes:
>>> [...]
>>>(cmd (concat "java " java " " org-ditaa-jar-option " "
>>> (shell-quote-argument
>>>(expand-file-name
>>> (if eps org-ditaa-eps-jar-path org-ditaa-jar-path)))
>>> " " cmdline
>>>
Hello Florin,
On Thu, Oct 19 2023, Florin Boariu wrote:
> 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
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
19 matches
Mail list logo