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 | 10f0da54271da9065cd57257e04de0a6000b1039 (patch) | |
tree | 3f59a602b8ad969dc751821af390c5e1997e12f1 | |
parent | 5ed85cd2c95403234789cd826c4c9e2937754f08 (diff) |
Fix manpage for latex2ps
Forwarded: no
Reviewed-by: gregor herrmann <gregoa@debian.org>
Last-Update: 2014-05-13
Remove the TO BE EXPANDED sentence from manpage and empty
sections. Add the OPTIONS section.
Gbp-Pq: Name fix-manpage-latex2ps.patch
-rwxr-xr-x | script/latex2ps | 32 |
1 files changed, 28 insertions, 4 deletions
diff --git a/script/latex2ps b/script/latex2ps index da7cbb9..60e816c 100755 --- a/script/latex2ps +++ b/script/latex2ps @@ -48,8 +48,35 @@ latex2ps - script to convert LaTeX file to PostScript C<latex2ps> is a simple script to invoke the C<LaTeX::Driver> module to convert a LaTeX file to PostScript. -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 @@ -63,9 +90,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: |