diff options
author | Salvatore Bonaccorso <carnil@debian.org> | 2024-03-05 20:27:28 +0100 |
---|---|---|
committer | gregor herrmann <gregoa@debian.org> | 2024-03-05 20:27:28 +0100 |
commit | ed443decd57fb5ce4be39e1a7ca686d4c93fd68c (patch) | |
tree | 6ab8241973629ded62fe40658c90dfdf636985d2 | |
parent | 10f0da54271da9065cd57257e04de0a6000b1039 (diff) |
Fix manpage of latex2pdf
Forwarded: no
Reviewed-by: gregor herrmann <gregoa@debian.org>
Last-Update: 2014-05-13
Remove the TO BE EXPANDED sentence from manpage and empty
section SEE ALSO. Add the OPTIONS section.
Gbp-Pq: Name fix-manpage-latex2pdf.patch
-rw-r--r-- | script/latex2pdf | 32 |
1 files changed, 28 insertions, 4 deletions
diff --git a/script/latex2pdf b/script/latex2pdf index 83c67e6..ef3874d 100644 --- a/script/latex2pdf +++ b/script/latex2pdf @@ -46,8 +46,35 @@ latex2pdf - script to convert LaTeX file to PDF C<latex2pdf> is a simple script to invoke the C<LaTeX::Driver> 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<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 @@ -61,9 +88,6 @@ 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. -=head1 SEE ALSO - - =cut # Local Variables: |