POD2LATEX(1)
β¨ POD2LATEX(1) β¨
User Contributed Perl Documentation β and bestie, it's about to convert your whole POD situation into LaTeX π
πΈ NAME πΈ
pod2latex</purl> β ok so this is the girl that converts pod documentation into latex format β¨
π¦ SYNOPSIS π¦
pod2latex *.pm
pod2latex -out mytex.tex *.pod
pod2latex -full -sections 'DESCRIPTION|NAME' SomeDir
pod2latex -prefile h.tex -postfile t.tex my.pod
π DESCRIPTION π
pod2latex is a program that converts POD format documentation (perlpod, iykyk) into latex. It can handle multiple input documents at a time and it'll either generate one latex file per input document, or one single combined output file β your call, main character π
π OPTIONS AND ARGUMENTS π
This section describes the supported command line options. Minimum matching is supported β so yes, you can be lazy, it gets you π«Ά
-outβ Name of the output file to be used. If there's multiple input pods, it's assumed that the intention is to write all the translated output into a single file..texgets appended if it's not already there. If you don't supply the argument, a single document will be created for each input file π«-fullβ Creates a completelatexfile that can be processed immediately (unless=for/=begindirectives are used that rely on extra packages, in which case, rip π). Table of contents and index generation commands are included in the wrapperlatexcode.-sectionsβ Specify pod sections to include (or remove if negated) in the translation. SeeSECTION SPECIFICATIONSin Pod::Select for the format to use for section-spec. This option may be given multiple times on the command line. This is identical to the similar option in thepodselect()command. Literally the same thing, no cap π-modifyβ This option causes the outputlatexto be slightly modified from the input pod such that when a=head1 NAMEis encountered, a section is created containing the actual pod name (rather than NAME) and all subsequent=head1directives are treated as subsections. The advantage here? The description of a module will be in its own section, which is super helpful for including module descriptions in documentation. Also forceslatexlabel and index entries to be prefixed by the name of the module. Obsessed with the structure honestly β¨-h1levelβ Specifies thelatexsection that is equivalent to aH1pod directive. This is an integer between 0 and 5, where 0 is equivalent to alatexchapter, 1 is equivalent to alatexsection, etc. The default is 1 (H1equivalent to a latex section).-helpβ Print a brief help message and exit. Short and sweet π-manβ Print the manual page and exit.-verboseβ Print information messages as each document is processed. She's chatty, she's keeping you in the loop π£οΈ-preambleβ A user-supplied preamble for the LaTeX code. Multiple values are supported and appended in order separated by\n. See-prefilefor reading the preamble from a file.-postambleβ A user supplied postamble for the LaTeX code. Multiple values are supported and appended in order separated by\n. See-postfilefor reading the postamble from a file.-prefileβ A user-supplied preamble for the LaTeX code to be read from the named file. Multiple values are supported and appended in order. See-preamble.-postfileβ A user-supplied postamble for the LaTeX code to be read from the named file. Multiple values are supported and appended in order. See-postamble.
π BUGS π
Known bugs are, unfortunately, a thing:
- Cross references between documents are not resolved when multiple pod documents are converted into a single output
latexfile. π - Functions and variables are not automatically recognized, and they will therefore not be marked up in any special way unless instructed by an explicit pod command. She needs instructions bestie, she's not psychic π
π₯ SEE ALSO π₯
Pod::LaTeX β go read it, it's giving lore π¦
π AUTHOR π
Tim Jenness <tjenness@cpan.org>
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Copyright (C) 2000, 2003, 2004 Tim Jenness. All Rights Reserved.
And that's the whole page, bestie β this was perl v5.42.0, dated 2025-07-25, straight from POD2LATEX(1) π slay, go convert something π
β¨
π¦ where this page comes from
- fedora 43: perl-Pod-LaTeX 0.61-325.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms