File: checkinst

package info (click to toggle)
latexml 0.8.8-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 31,920 kB
  • sloc: xml: 109,048; perl: 30,224; sh: 179; javascript: 28; makefile: 13
file content (14 lines) | stat: -rwxr-xr-x 488 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env perl
use strict;
use warnings;

print "Searching.... (warnings may appear)\n";
my $latexml = `which latexml`; chomp($latexml);
my $latexmlmodule = (system("perl -MLaTeXML -e 'OK'") == 0);
my $latexmlsty = `kpsewhich latexml.sty`;

print "... done \n";
print "latexml executable : ".($latexml || "was NOT found")."\n";
print "LaTeXML Module     : ".($latexmlmodule ? "was found" : "was NOT found")."\n";
print "latexml stylefile  : ".($latexmlsty || "was NOT found")."\n";