mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-25 07:56:58 +00:00
b1f6f22904
Bug: T104050 Change-Id: I19767efd410f04deb7ac6b122427d630735d778a
10 lines
219 B
Perl
Executable file
10 lines
219 B
Perl
Executable file
#! /usr/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'`;
|