Skip to content

harshpreet931/tex2pdf

Repository files navigation

tex2pdf

Convert TeX files to PDF with zero setup.

Usage

npx tex2pdf document.tex

LaTeX is automatically installed on first use (~200MB download).

Installation

npm install -g tex2pdf

Options

tex2pdf document.tex [output.pdf] [--engine=ENGINE]
Option Description
--engine=ENGINE LaTeX engine: xelatex (default), pdflatex, lualatex
--install Force reinstall TinyTeX
--help Show help

License

MIT

About

Zero-setup CLI to convert TeX to PDF. No LaTeX installation needed, just run npx tex2pdf file.tex and it auto-downloads everything on first use.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors