LATEX2PDF(1p)

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

πŸ’– 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 to FILE. 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 the LaTeX::Driver module for latex formatting. so: template first, latex second. pipeline girlies rise πŸ’œ
  • -define=NAME=VALUE β€” defines the template variable NAME to have the value VALUE. 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 -tt2 option is not specified. so don't be out here defining variables into the void, bestie 😭

✨ 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.


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