mediawiki-extensions-Math/texvccheck/test.pl
Derk-Jan Hartman b1f6f22904 Fix perl script permissions and shebang
Bug: T104050
Change-Id: I19767efd410f04deb7ac6b122427d630735d778a
2015-07-01 13:27:22 +00:00

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'`;