LATEX2PS(1p)
π latex2ps β the glow-up your LaTeX file deserves
okay so this page lives in the User Contributed Perl Documentation section of the manual (section 1p, iykyk), and bestie, it's literally just a little script that takes your LaTeX and makes it PostScript. tiny page, huge main character energy. let's get into it π¦
β¨ NAME β¨
latex2ps β a script to convert a LaTeX file to PostScript π
β¨ SYNOPSIS β¨
latex2ps [OPTIONS] [-o output] [sourcefile]
β¨ DESCRIPTION β¨
so like, latex2ps is a simple script that invokes the LaTeX::Driver module to convert a LaTeX file to PostScript. that's the whole vibe. no cap, it's not doing anything wild, it's just handing your file off to LaTeX::Driver and letting that module do the heavy lifting. π
β¨ OPTIONS β¨
-output=FILEβ tells it where the formatted file should go, bestie. write it toFILE. but here's the tea: if you don't specify this option at all, or if you specify it as"-", then the file gets written to standard output. otherwise β if an input file is specified β it'll be formatted in place, and the output file will have the same name as the input file, except the original extension gets swapped out for.dvi. π«Ά-tt2β says "okay treat the source document as a Template Toolkit template" and processes it through Template Toolkit first, before feeding it to theLaTeX::Drivermodule for the actual latex formatting. two-step pipeline, we love a process. β¨-define=NAME=VALUEβ defines the template variableNAMEto have the valueVALUE. you can define as many template variables as you want, and they all get passed along to the Template Toolkit processing stage. heads up though: they get ignored if you didn't also pass-tt2. π
β¨ 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 that's the whole page, bestie, we ate and left no crumbs π β this was LATEX2PS(1p) from perl v5.38.2, dated 2024-03-05. mwah, go format something pretty πβ¨
π¦ 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