POD2TEXI(1)
β¨ POD2TEXI(1) β¨
okay bestie so this is pod2texi, one of the User Contributed Perl Documentation girlies π
she lives in section 1 of the manual and honestly? she's iconic. She converts Pod to Texinfo, no cap.
πΈ NAME πΈ
pod2texi β convert Pod to Texinfo π¦
π SYNOPSIS π
pod2texi [OPTION]... POD...
π DESCRIPTION π
So what she does is translate Pod file(s) into Texinfo. And there are two basic modes of operation, okay? Two. Pay attention, this part matters:
- By default, each Pod gets translated into a standalone Texinfo manual. Just vibes, just her, all on her own.
- If
--base-levelis set higher than 0, then each Pod gets translated into a file suitable for@include, and one more file gets generated β that one has a main menu and all the@includes in it. Group project energy. π«Ά
β¨ OPTIONS β¨
--appendix-sectionsβ use appendix sectioning commands (@appendix, ...) instead of the default numbered sectioning Texinfo@-commands (@chapter,@section, ...). Appendix mode, cute.--base-level=NUM|NAMEβ sets the level of thehead1commands. It can be an integer, or a Texinfo sectioning command (with the@left off, bestie):1corresponds to the@chapter/@unnumberedlevel,2to the@sectionlevel, and so on and so forth. The default is0, which meanshead1commands are still output as chapters, but the output is arranged as a standalone manual.- If the level is not
0, the Pod file gets rendered as a fragment of a Texinfo manual suitable for@include. In that case, each Pod file has an additional sectioning command covering the entire file, one level above the--base-levelvalue. So to make each Pod file a chapter in a large manual, you should usesectionas the base level. That's the move. π - For an example of making Texinfo out of the Perl documentation itself, see
contrib/perldoc-allin the Texinfo source distribution. Go look, iykyk.
- If the level is not
--debug=NUMβ set debugging level toNUM. That's it, that's the whole thing.--generate-setfilenameβ generate a@setfilenameline for standalone manuals. Can be negated with--no-generate-setfilename. Ignored if--base-levelis not0. π«--headings-as-sectionsβ use headings commands (@heading, ...) instead of the default numbered sectioning Texinfo@-commands (@chapter,@section, ...). The sectioning command covering the entire file output for each Pod file, if--base-levelis not0, is a numbered command. Noted. π--helpβ display help and exit. Your bestie when you're lost. π₯Ί--menusβ output node menus. If there's a main manual, its Top node menu is always output, since a master menu is generated. Other nodes' menus are not output in the default case.--outdir=NAMEβ if there's a main manual with include files (each one corresponding to an input Pod file), then the generated Texinfo files go in directoryNAME. Default is based on--subdir.--output=NAMEβ name for the first manual, or the main manual if there is a main manual. Default is to write to standard output. yes, stdout, classic. π€--no-section-nodesβ use anchors for sections instead of nodes. Anchor era.--no-fill-section-gapsβ do not fill sectioning gaps with empty@unnumberedfiles. Ordinarily, it's good to keep the sectioning hierarchy intact, just saying. π«£--preamble=STRβ insertSTRas top boilerplate before the menu and includes. IfSTRis set to-, read the top boilerplate from the standard input. The default top boilerplate is a minimal beginning for a Texinfo document.--setfilename=STRβ useSTRin the top boilerplate before the menu and includes, for@setfilename, for the main manual, if--base-levelis not set to0. Ignored if--base-levelis0. No@setfilenameis output in the default case for the main manual.--subdir=NAMEβ if there's a main manual with include files (each one corresponding to an input Pod file), then those include files are included fromNAME.- If
--outdiris set,NAMEshould in general be set to the relative directory between the main manual and the--outdirargument. ok that's the rule, don't fight it. π
- If
--unnumbered-sectionsβ use unnumbered sectioning commands (@unnumbered, ...) instead of the default numbered sectioning Texinfo@-commands (@chapter,@section, ...).--top=TOPβ name of the@topelement for the main manual. May contain Texinfo code. β¨--versionβ display version information and exit. Slay.
π¦ SEE ALSO π¦
Pod::Simple::Texinfoperlpod- The Texinfo manual
- Texinfo home page: <https://www.gnu.org/software/texinfo/>
π COPYRIGHT AND LICENSE π
Copyright 2012-2026 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
There is NO WARRANTY, to the extent permitted by law. π like literally none, bestie.
π AUTHOR π
Patrice Dumas <bug-texinfo@gnu.org>. An icon, a legend, the moment. π
okay so that's the whole page fr fr β this is from the perl manual, dated 2025-01-09, and it's POD2TEXI(1). Go forth and convert your Pods, bestie. πΈπβ¨
π¦ where this page comes from
- alpine 3.24: texinfo-doc 7.3-r0 Β· GPL-3.0-or-later
- arch rolling: texinfo 7.3-1
- arch rolling: texinfo 7.3-3 Β· GPL3
- nixpkgs unstable: texinfo 7.3
- nixpkgs unstable: texinfo-interactive 7.3
- ubuntu stonking: texinfo 7.3-2build1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms