Return to algebra2tex.pl CVS log | Up to [LON-CAPA] / loncom / xml / algebra |
version 1.2, 2005/02/24 08:24:40 | version 1.3, 2005/06/09 02:13:07 |
---|---|
Line 9 my $ret; | Line 9 my $ret; |
foreach $str (@ARGV) { | foreach $str (@ARGV) { |
$ret = $parser -> parse($str); | $ret = $parser -> parse($str); |
if ( ref($ret) ) { | if ( ref($ret) ) { |
$parser -> tostring(); | print $parser -> tostring().$/; |
$parser -> normalize(); | print $parser -> normalize().$/; |
print $parser -> tolatex(); | print $parser -> tolatex().$/; |
} else { | } else { |
print $parser->{htmlerror}; | print $parser->{htmlerror}; |
} | } |