Description: Fix manpage of latex2pdf Remove the TO BE EXPANDED sentence from manpage and empty section SEE ALSO. Add the OPTIONS section. Forwarded: no Author: Salvatore Bonaccorso Reviewed-by: gregor herrmann Last-Update: 2014-05-13 --- a/script/latex2pdf +++ b/script/latex2pdf @@ -46,8 +46,35 @@ C is a simple script to invoke the C module to convert a LaTeX file to PDF. -TO BE EXPANDED +=head1 OPTIONS +=over 4 + +=item C<-output=FILE> + +specifies that the formatted file should be written to C. 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 module for latex formatting. + + +=item C<-define=I=I> + +defines the template variable I to have the value I. +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 @@ -61,9 +88,6 @@ This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. -=head1 SEE ALSO - - =cut # Local Variables: