File:
[LON-CAPA] /
loncom /
xml /
algebra /
algebra2tex.pl
Revision
1.3:
download - view:
text,
annotated -
select for diffs
Thu Jun 9 02:13:07 2005 UTC (19 years, 9 months ago) by
albertel
Branches:
MAIN
CVS tags:
version_2_1_X,
version_2_1_3,
version_2_1_2,
version_2_1_1,
version_2_1_0,
version_2_0_X,
version_2_0_99_1,
version_2_0_2,
version_2_0_1,
version_2_0_0,
version_1_99_3,
version_1_99_2,
version_1_99_1,
version_1_99_0,
HEAD
- printing out intermediates views
#!/usr/bin/perl
use lib '.';
use AlgParser;
my $parser = new AlgParserWithImplicitExpand;
my $ret;
foreach $str (@ARGV) {
$ret = $parser -> parse($str);
if ( ref($ret) ) {
print $parser -> tostring().$/;
print $parser -> normalize().$/;
print $parser -> tolatex().$/;
} else {
print $parser->{htmlerror};
}
print "\n";
}
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>