emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] ob-plantuml: Allow setting PlantUML args for jar file


From: Dejan Josifović
Subject: Re: [PATCH] ob-plantuml: Allow setting PlantUML args for jar file
Date: Fri, 21 Jan 2022 23:22:48 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

On 19-Jan-22 17:54, Max Nikulin wrote:
FYI, you can customise any header arg globally. See manual page 16.3
Using Header Arguments.

info "(org) Using Header Arguments" 
https://orgmode.org/manual/Using-Header-Arguments.html

Thanks for the info. I'm still not fully proficient in org-mode so this (and the discussion) is very helpful.

On 18-Jan-22 14:30, Ihor Radchenko wrote:
I am not sure about this specific case. The PlantUML executable is
literally a wrapper around java call to jar. Below is the contents of
plantuml file in my system:

#!/bin/bash
gjl_package=plantuml
gjl_jar="plantuml.jar"
source /usr/share/java-config-2/launcher/launcher.bash

Unless it is any different on your side, the arguments for jar and
executable should be literally the same.

I see your point here - no need for redundant custom variables.

I realise that the current situation is kind of awkward. Maybe we should
encourage ob-* libraries to use special header args instead of
defcustoms and modify built-in libraries in this spirit. Would you be
interested to write a feature request?

This is very interesting, I will keep an eye on this discussion to follow up on everything. :-)

Thanks.

Regards,

--
Dejan Josifović | Дејан Јосифовић
Software engineer | Софтверски инжењер
https://theparanoidtimes.org

()  ascii ribbon campaign
/\  www.asciiribbon.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]