Scroll to navigation

LATEX2PDF(1p) User Contributed Perl Documentation LATEX2PDF(1p)

NAME

latex2pdf - script to convert LaTeX file to PDF

SYNOPSIS

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

DESCRIPTION

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

OPTIONS

"-output=FILE"
specifies that the formatted file should be written to "FILE". If this option is not specified, or is specified as ""-"" 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 ".dvi".
"-tt2"
specifies that the source document should be taken to be a Template Toolkit template and processed through that before being fed to the "LaTeX::Driver" module for latex formatting.
"-define=NAME=VALUE"
defines the template variable NAME to have the value VALUE. Multiple template variables may be defined and these are passed to the Template Toolkit processing stage (they are ignored if the "-tt2" option is not specified).

AUTHOR

Andrew Ford <A.Ford@ford-mason.co.uk>

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.

2024-03-05 perl v5.38.2