Working version of algebra filter for Unix and Windows

This commit is contained in:
fiedorow 2004-02-17 03:38:48 +00:00
parent 3ce906d64d
commit 1a1de46ae2
7 changed files with 941 additions and 0 deletions

17
filter/algebra/algebra2tex.pl Executable file
View file

@ -0,0 +1,17 @@
#!/usr/bin/perl
use lib '.';
use AlgParser;
my $parser = new AlgParserWithImplicitExpand;
my $ret;
$ret = $parser -> parse($ARGV[0]);
if ( ref($ret) ) {
$parser -> tostring();
$parser -> normalize();
print $parser -> tolatex();
} else {
print $parser->{htmlerror};
}