|
NAMEpod2pdf - converts Pod to PDF formatDESCRIPTIONpod2pdf converts documents written in Perl's POD (Plain Old Documentation) format to PDF files.Usagepod2pdf [options] input.pod >output.pdf If no input filename is specified, pod2pdf will read from STDIN, e.g. perldoc -u File::Find | pod2pdf [options] >File-Find.pdf Optionspod2pdf accepts the following command-line options:
Configuration filesSets of command-line options may be saved into configuration files.A configuration file contains options in the same format as used by pod2pdf on the command-line, with one option given on each line of the file, e.g. --page-size A5 --page-orientation landscape To use a config file, invoke pod2pdf with the option "@/path/to/configfile.conf". For example, if you wanted to always include a company logo, timestamp, and copyright notice in your PDF files, create a file mycompany.conf containing the following: --icon "/path/to/your/logo.png" --footer-text "Copyright 2007 MyCompany Limited" --timestamp Then invoke pod2pdf as: pod2pdf @/path/to/mycompany.conf input.pod >output.pdf If you create a config file called pod2pdf.conf and place this in the same directory as the pod2pdf script, it will be loaded as the default configuration. POD ENTENSIONSAs well as the standard POD commands (see perlpodspec), pod2pdf supports the following extensions to the POD format:
DEPENDENCIESpod2pdf requires the following modules to be installed:
Additionally to use images, the modules File::Type and Image::Size must be installed, and to specify alternative page sizes the Paper::Specs module is required. SEE ALSOThe pod2pdf homepage: <http://perl.jonallen.info/projects/pod2pdf>For more information about POD, read the perlpod manpage or see the POD page on the Perl 5 Wiki (<http://www.perlfoundation.org/perl5/index.cgi?pod>). COPYRIGHT and LICENSECopyright (C) 2007 Jon Allen (JJ) <jj@jonallen.info>This software is licensed under the terms of the Artistic License version 2.0. For full license details, please read the file artistic-2_0.txt included with this distribution, or see <http://www.perlfoundation.org/legal/licenses/artistic-2_0.html>.
Visit the GSP FreeBSD Man Page Interface. |