Converting algorithms to/from latex

Syed Ahmad <[email protected]>
Newsgroups gmane.editors.texmacs.devel
Message-ID <87va2na90a.fsf@willie.i-did-not-set--mail-host-address--so-tickle-me>
Hello there,

While ago, when I was writing my thesis and I needed to write lots of
algorthms, I found algorithm-blah.ts in the wild (perhaps on this
mailing list) and modified it so I can write algorithms in Texmacs the
same way we write them in latex using algorithmic packages (like to
start every line you write \state and it gets its own line number
etc). Here is the package:

https://gitlab.com/syedahmad/algorithmacs/blob/master/algorithmacs-style.ts

Now, what I'm interested in, is to write a conversion to/from
latex algorithm/algorithmic. In general it should be easy because every
I have followed latex symantics in algorithmacs-style.ts.

I was wondering where I should start. Could I write a plugin etc or I
need to edit Texmacs core source code? I have written quite a bit of
elisp code but haven't done scheme before.

Thanks a lot,
Syed Ahmad
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.