repo.or.cz
/
moodle-pu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
MDL-10870 Missed an instance of old nav in admin/lang.php
[moodle-pu.git]
/
filter
/
algebra
/
algebra2tex.pl
blob
bf9e880544b3737b4261d926d4b5f2e23201f310
1
#!/usr/bin/perl
2
3
use
lib
'.'
;
4
use
AlgParser
;
5
6
my
$parser
=
new AlgParserWithImplicitExpand
;
7
my
$ret
;
8
9
$ret
=
$parser
->
parse
(
$ARGV
[
0
]);
10
if
(
ref
(
$ret
) ) {
11
$parser
->
tostring
();
12
$parser
->
normalize
();
13
print
$parser
->
tolatex
();
14
}
else
{
15
print
$parser
->{
htmlerror
};
16
}
17