File:  [LON-CAPA] / loncom / xml / algebra / algebra2tex.pl
Revision 1.1: download - view: text, annotated - select for diffs
Thu Feb 24 01:21:51 2005 UTC (19 years, 4 months ago) by albertel
Branches: MAIN
CVS tags: HEAD
- adding in <algebra>

#!/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};
}


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>