LATEX2PDF(1p)
π LATEX2PDF(1p) π
okay bestie, gather round, we're doing the User Contributed Perl Documentation thing today and honestly? it's giving useful. this is the latex2pdf page, section 1p, and yes we're gonna read the whole thing together. no skimming. π«Ά
β¨ NAME β¨
latex2pdf β script to convert LaTeX file to PDF πΈ
β¨ SYNOPSIS β¨
latex2pdf [OPTIONS] [-o output] [sourcefile]
look at that. so clean. so demure. π
β¨ DESCRIPTION β¨
so latex2pdf is literally just a simple script that invokes the LaTeX::Driver module to convert a LaTeX file to PDF. that's it. that's the whole job. it does the thing so you don't have to. iconic behavior fr fr β¨
β¨ OPTIONS β¨
-output=FILEβ this one says the formatted file should be written toFILE. now here's the β¨situationβ¨: if you don't specify this option at all, or you specify it as"-", then the file gets written to standard output. otherwise, if you do specify an input file, then it'll be formatted in place and the output file will have the same name as the input file β but with the original extension replaced with.dvi. yes bestie,.dvi, that's what it says, I don't make the rules, I just report them faithfully π-tt2β turns on template mode π¦ it specifies that the source document should be taken to be a Template Toolkit template, and processed through that before being fed to theLaTeX::Drivermodule for latex formatting. so: template first, latex second. pipeline girlies rise π-define=NAME=VALUEβ defines the template variableNAMEto have the valueVALUE. you can define multiple template variables, and they all get passed to the Template Toolkit processing stage. heads up though: they are ignored if the-tt2option is not specified. so don't be out here defining variables into the void, bestie π
β¨ 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.
a lil reminder from me to you: that's the whole page, every flag, every default, every detail, nothing dropped. ate and left no crumbs π
and that's the vibe check on LATEX2PDF(1p) π§ this lil doc came from perl v5.38.2, dated 2024-03-05, so if that ever changes, don't come for me β come for the version. byeee, go convert something gorgeous πβ¨π
π¦ where this page comes from
- debian trixie: liblatex-driver-perl 1.2.0-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: liblatex-driver-perl 1.2.0-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu questing: liblatex-driver-perl 1.2.0-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms