mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-25 07:56:58 +00:00
9 lines
223 B
Perl
9 lines
223 B
Perl
|
#!/usr/local/bin/perl
|
||
|
my $texvc = `texvc '\\sin(x)+{}{}\\cos(x)^2 newcommand'`;
|
||
|
if (substr($result,0,1) eq "+") {
|
||
|
print "good";
|
||
|
} else {
|
||
|
print "bad";
|
||
|
}
|
||
|
print $result;
|
||
|
my $ = `tex2svg '\\sin(x)+{}{}\\cos(x)^2 newcommand'`;
|