emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* algorithm capabilities for org-mode
@ 2021-06-17 17:32 Christopher Dimech
  2021-06-18  9:22 ` Eric S Fraga
  0 siblings, 1 reply; 6+ messages in thread
From: Christopher Dimech @ 2021-06-17 17:32 UTC (permalink / raw)
  To: Help Emacs Orgmode

There exists the algorithmicx package on https://ctan.org/pkg/algorithmicx
that people use.  But it comes under the "LaTeX Project Public License".

It was done Szász János and released in 2005, but is today inactive.

It would be beneficial if org-mode could have similar functionality
for algorithms as a built-in capability.



----- Christopher Dimech
Administrator General - Naiad Informatics - Gnu Project

Society has become too quick to pass judgement and declare someone
Persona Non-Grata, the most extreme form of censure a country can
bestow.

In a new era of destructive authoritarianism, I support Richard
Stallman.  Times of great crisis are also times of great
opportunity.  I call upon you to make this struggle yours as well !

https://stallmansupport.org/
https://www.fsf.org/     https://www.gnu.org/



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: algorithm capabilities for org-mode
  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
  0 siblings, 1 reply; 6+ messages in thread
From: Eric S Fraga @ 2021-06-18  9:22 UTC (permalink / raw)
  To: Christopher Dimech; +Cc: Help Emacs Orgmode

On Thursday, 17 Jun 2021 at 19:32, Christopher Dimech wrote:
> It was done Szász János and released in 2005, but is today inactive.

Inactive does not mean not useful.  The package works and works
well.  There is really no need for "activity" on it.

I fail to see the need to re-invent the wheel.  What is the motivation?
-- 
: Eric S Fraga via Emacs 28.0.50, Org release_9.4.6-555-g5a03ad
: Latest paper written in org: https://arxiv.org/abs/2106.05096


^ permalink raw reply	[flat|nested] 6+ messages in thread

* algorithm capabilities for org-mode
  2021-06-18  9:22 ` Eric S Fraga
@ 2021-06-18 13:39   ` Christopher Dimech
  2021-06-18 14:06     ` Eric S Fraga
  0 siblings, 1 reply; 6+ messages in thread
From: Christopher Dimech @ 2021-06-18 13:39 UTC (permalink / raw)
  To: Eric S Fraga; +Cc: Help Emacs Orgmode


> Sent: Friday, June 18, 2021 at 9:22 PM
> 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 Thursday, 17 Jun 2021 at 19:32, Christopher Dimech wrote:
> > It was done Szász János and released in 2005, but is today inactive.
> 
> Inactive does not mean not useful.  The package works and works
> well.  There is really no need for "activity" on it.
> 
> I fail to see the need to re-invent the wheel.  What is the motivation?
> -- 
> : Eric S Fraga via Emacs 28.0.50, Org release_9.4.6-555-g5a03ad
> : Latest paper written in org: https://arxiv.org/abs/2106.05096

The license released under is incompatible with the GPL.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: algorithm capabilities for org-mode
  2021-06-18 13:39   ` Christopher Dimech
@ 2021-06-18 14:06     ` Eric S Fraga
  2021-06-18 17:53       ` Christopher Dimech
  0 siblings, 1 reply; 6+ messages in thread
From: Eric S Fraga @ 2021-06-18 14:06 UTC (permalink / raw)
  To: Christopher Dimech; +Cc: Help Emacs Orgmode

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, ...

-- 
: Eric S Fraga via Emacs 28.0.50, Org release_9.4.6-557-gceb78e
: Latest paper written in org: https://arxiv.org/abs/2106.05096


^ permalink raw reply	[flat|nested] 6+ messages in thread

* algorithm capabilities for org-mode
  2021-06-18 14:06     ` Eric S Fraga
@ 2021-06-18 17:53       ` Christopher Dimech
  2021-06-18 22:28         ` Tim Cross
  0 siblings, 1 reply; 6+ messages in thread
From: Christopher Dimech @ 2021-06-18 17:53 UTC (permalink / raw)
  To: Eric S Fraga; +Cc: Help Emacs Orgmode


> 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.

> --
> : Eric S Fraga via Emacs 28.0.50, Org release_9.4.6-557-gceb78e
> : Latest paper written in org: https://arxiv.org/abs/2106.05096
>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: algorithm capabilities for org-mode
  2021-06-18 17:53       ` Christopher Dimech
@ 2021-06-18 22:28         ` Tim Cross
  0 siblings, 0 replies; 6+ messages in thread
From: Tim Cross @ 2021-06-18 22:28 UTC (permalink / raw)
  To: emacs-orgmode


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-06-18 23:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

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).