From: Tim Cross <theophilusx@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: algorithm capabilities for org-mode
Date: Sat, 19 Jun 2021 08:28:42 +1000 [thread overview]
Message-ID: <87tulu22zz.fsf@gmail.com> (raw)
In-Reply-To: <trinity-122834d8-4b96-4963-ab98-c050fd1b8043-1624038837101@3c-app-mailcom-bs02>
Christopher Dimech <dimech@gmx.com> writes:
>> Sent: Saturday, June 19, 2021 at 2:06 AM
>> From: "Eric S Fraga" <e.fraga@ucl.ac.uk>
>> To: "Christopher Dimech" <dimech@gmx.com>
>> Cc: "Help Emacs Orgmode" <emacs-orgmode@gnu.org>
>> Subject: Re: algorithm capabilities for org-mode
>>
>> On Friday, 18 Jun 2021 at 15:39, Christopher Dimech wrote:
>> > The license released under is incompatible with the GPL.
>>
>> So? It doesn't stop anybody using it. It's not as if we need to ship
>> it with org, for instance. Are you going to propose we also
>> re-implement all the other packages many of us use, e.g. tikz, geometry,
>> chemfig, ...
>
> Those tend to be quite complex. algorithmicx, not so much. It would
> be most natural to have in emacs because algorithm display is most
> favourable to use to describe programming techniques.
>
> Perhaps emacs could absorb it, rather than org.
I think there needs to be more clarity about what the objective is here.
My reading of the initial suggestion was to have the functionality
provided by the Latex package available natively in org mode (not
requiring the latex package and supported by all export formats).
I don't think there is any benefit from bundling the latex package into
org mode (or emacs). For those who do want to use it, they just include
it as you do with any other Latex package. Everything works fine.
However, there might be an argument to have a generic 'algorithms'
mode, which would use only org syntax to express algorithm structure
(or possibly a #+begin_algorithm block) which is supported by all export
backends so that you can have nice type setting of algorithms in all
exported formats. Something similar to table mode in concept.
While it might be possible to 'borrow' some of the ideas from the Latex
package, this would need to be a completely new implementation and would
therefore have its own license (GPL if org or Emacs). This would likely
be a fairly substantial piece of work as it would also be necessary to
'teach' the backends about this new 'structure' and how to present it in
final output.
This does seem like rather 'niche' functionality - only a subset of org
users are likely to want this feature and only a subset of those
are needing it outside existing Latex exports. I'm not sure if the
additional code and maintenance it introduces can be justified. However,
if someone has a sufficient itch to implement this functionality as an
add-on/contrib package, it could be an interesting project and if it
turned out to be popular/useful for a wider audience, it could then be
brought into org mode or Emacs later.
--
Tim Cross
prev parent reply other threads:[~2021-06-18 23:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-17 17:32 algorithm capabilities for org-mode Christopher Dimech
2021-06-18 9:22 ` Eric S Fraga
2021-06-18 13:39 ` Christopher Dimech
2021-06-18 14:06 ` Eric S Fraga
2021-06-18 17:53 ` Christopher Dimech
2021-06-18 22:28 ` Tim Cross [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tulu22zz.fsf@gmail.com \
--to=theophilusx@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).