LaTeX:...rogram(3pm)
π LaTeX::Driver::FilterProgram π
okay so bestie, welcome to the User Contributed Perl Documentation section, which is where this lil gem lives. it's giving "niche but iconic" and honestly? we're obsessed. let's get into it β¨
πΈ NAME πΈ
LaTeX::Driver::FilterProgram β the LaTeX driver's very own FilterProgram, no cap π
π VERSION π
1.3.1
she's version one-point-three-point-one and she knows it π«Ά
β¨ SYNOPSIS β¨
use LaTeX::Driver::FilterProgram;
LaTeX::Driver::FilterProgram->execute(format => $format);
that's it. that's the whole vibe check right there π
π¦ DESCRIPTION π¦
okay so real talk: this module is not meant to be used by you, bestie. like, she's not for public consumption. the only ones allowed in the group chat are the programs "latex2pdf", "latex2ps" and "latex2dvi" β all of which ship inside the LaTeX::Driver distribution. she implements the guts of those filter programs, which is honestly such a main character move. she's the one doing all the work behind the scenes while the pretty little front-end programs take the credit π
π SUBROUTINES/METHODS π
π execute(%params)
this is the only method. the one. the icon. the moment. periodt.
she implements the guts of the filter programs β like, all of it β by gathering up the parameters for the "LaTeX::Driver" object constructor from the command line options, plus the options that got passed in from the calling script, which should be the format option, obviously. and then? having constructed a driver object, she runs the driver. slay π
and here's the tea: if the -tt2 option is specified, then the source document is taken to be a Template Toolkit template π§ and a Template object gets constructed, and the template gets processed through that before being fed to the "LaTeX::Driver" module for latex formatting. so it's like a lil makeover before the big show, yk?
template variables may be defined with the -define option, and those get passed to the Template Toolkit processing stage. fair warning tho: they are ignored if the -tt2 option is not specified. so like, don't come crying if you skip the -tt2 and your defines ghost you π
π DIAGNOSTICS π
the module invokes the "LaTeX::Driver" module, and optionally the "Template" module. any errors from those modules are propagated outwards. so if something goes wrong, bestie, she is NOT keeping it to herself β she's telling everybody. very "screenshot and send to the group chat" energy π
π CONFIGURATION AND ENVIRONMENT π
the module invokes the latex family of programs via the "LaTeX::Driver" module. and those programs? they have their own set of environment variables and configuration files. so that's a whole separate rabbit hole, iykyk π³οΈβ¨
π§ DEPENDENCIES π§
the module requires that the Template Toolkit is installed for the -tt2 option. no Toolkit, no -tt2. simple as that, fr fr π
πΈ INCOMPATIBILITIES πΈ
None known. (she's unproblematic, we love that for her π«Ά)
π BUGS AND LIMITATIONS π
None known. (iconic behaviour honestly π)
β AUTHOR β
Andrew Ford <a.ford@ford-mason.co.uk>
π LICENSE AND COPYRIGHT π
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.
okay bestie that's a wrap!! this page came to you courtesy of perl v5.40.1, dated 2026-01-25, and it lives under the LaTeX:...rogram(3pm) header name in the User Contributed Perl Documentation manual. go forth and filter, mwah ππ
β¨
π¦ where this page comes from
- ubuntu resolute: liblatex-driver-perl 1.3.1-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: liblatex-driver-perl 1.3.1-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms