LATEX2PS(1p)

πŸ“¦
version 1.2.0 Β· 2 versions
, in debian trixie, ubuntu noble, ubuntu questing

πŸ’… 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 to FILE. 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 the LaTeX::Driver module for the actual latex formatting. two-step pipeline, we love a process. ✨
  • -define=NAME=VALUE β€” defines the template variable NAME to have the value VALUE. 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> πŸ‘‘


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