This file is indexed.

/usr/bin/latex2pdf is in liblatex-driver-perl 0.200.4-1.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
#!/usr/bin/perl -w

eval 'exec /usr/bin/perl -w -S $0 ${1+"$@"}'
    if 0; # not running under some shell
#========================================================================
#
# latex2pdf
#
# DESCRIPTION
#   Script for processing and rendering a template document using the 
#   Perl Template Toolkit. 
#
# AUTHOR
#   Andrew Ford <a.ford@ford-mason.co.uk>
#
# COPYRIGHT
#   Copyright (C) 2007 Andrew Ford.  All Rights Reserved.
#
#   This module is free software; you can redistribute it and/or
#   modify it under the same terms as Perl itself.
#
#------------------------------------------------------------------------
#
# $Id: latex2pdf 59 2007-09-28 14:39:34Z andrew $
#
#========================================================================

use strict;
use warnings;

use LaTeX::Driver::FilterProgram;

LaTeX::Driver::FilterProgram->execute(format => 'pdf');

exit(0);

__END__

=head1 NAME

latex2pdf - script to convert LaTeX file to PDF

=head1 SYNOPSIS

  latex2pdf [OPTIONS] [-o output] [sourcefile]

=head1 DESCRIPTION

C<latex2pdf> is a simple script to invoke the C<LaTeX::Driver> module
to convert a LaTeX file to PDF.

=head1 OPTIONS

=over 4

=item C<-output=FILE>

specifies that the formatted file should be written to C<FILE>.  If
this option is not specified, or is specified as "C<->" then the file
will be written to standard output, otherwise if an input file is
specified then the it will be formatted in place and the output file
will have the same name as the input file, but with the original
extension replaced with C<.dvi>.


=item C<-tt2>

specifies that the source document should be taken to be a Template
Toolkit template and processed through that before being fed to the
C<LaTeX::Driver> module for latex formatting.


=item C<-define=I<NAME>=I<VALUE>>

defines the template variable I<NAME> to have the value I<VALUE>.
Multiple template variables may be defined and these are passed to the
Template Toolkit processing stage (they are ignored if the C<-tt2>
option is not specified).

=back

=head1 AUTHOR

Andrew Ford E<lt>A.Ford@ford-mason.co.ukE<gt>


=head1 LICENSE AND COPYRIGHT

Copyright (C) 2007 Andrew Ford.  All Rights Reserved.

This module is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.

=cut

# Local Variables:
# mode: perl
# perl-indent-level: 4
# indent-tabs-mode: nil
# End:
#
# vim: expandtab shiftwidth=4: