On 29 June 2010 19:58, Aryeh Gregor <Simetrical+wikilist(a)gmail.com> wrote:
On Tue, Jun 29, 2010 at 9:23 AM, Ilmari Karonen
<nospam(a)vyznev.net> wrote:
I'm not familiar enough with the texvc code
to know what it would take
to add support for the algorithmic package (and I'm not sure if anyone
really is; that code is notoriously low on active maintainers).
It should be trivial. Just add a usepackage in the right place and
whitelist the commands. Of course, this will cause a fatal error on
any system where the algorithmic package isn't installed, but it
shouldn't be too hard to set it up so that this is only triggered in
equations that actually try to use the package -- there's already
something like that for AMS.
I'd been hoping to do similar things in the next few days, as part of
a clean up of the trivial bugs that have accumulated for texvc -
adding new features is trivial, it's just if we want to change old
ones that
https://bugzilla.wikimedia.org/show_bug.cgi?id=16719 starts
to get in the way.
Agreeing with Ilmari Karonen, I'd hugely prefer not to use LaTeX for
algorithms, there are a large number of programming languages with
defined (or at least reasonably widely agreed upon) semantics, all of
which can be beautified by GeSHi, using a custom pseudo-code and then
converting the text to an image seems like a huge step backwards in
terms of making something easily readable by the largest number of
people. Many modern (i.e. post 1990) languages are comparable to
pseudo-code in conciseness, and it's usually possible to write
algorithms that don't make use of less standard features of such
languages.
Conrad