Sign inSign up

hieupth/texlive

By hieupth

•Updated 18 days ago

Image
0

131

hieupth/texlive repository overview

⁠Texlive

Compile LaTeX documents in Docker containers. No local TeX Live installation needed.

⁠Getting Started

⁠Prerequisites
⁠Pull the image
docker pull hieupth/texlive:latest
⁠Usage

Compile a specific .tex file with the default engine (pdfLaTeX):

docker run --rm \
  -v /path/to/latex/project:/texlive/input \
  -v /path/to/output:/texlive/output \
  hieupth/texlive main.tex

Or let it auto-detect the first .tex file in the input directory:

docker run --rm \
  -v /path/to/latex/project:/texlive/input \
  -v /path/to/output:/texlive/output \
  hieupth/texlive

The compiled output will appear in the output directory you mounted.

⁠Selecting an engine

Set the ENGINE environment variable:

docker run --rm \
  -e ENGINE=xelatex \
  -v /path/to/latex/project:/texlive/input \
  -v /path/to/output:/texlive/output \
  hieupth/texlive main.tex
ENGINECompilerOutput
pdflatex (default)pdfLaTeXPDF
xelatexXeLaTeXPDF
lualatexLuaLaTeXPDF
latexLaTeXDVI
dviluaDVI LuaLaTeXDVI
xdvXeLaTeXXDV
pdfpsLaTeX → dvips → ps2pdfPDF
pdfdviLaTeX → dvipdfPDF

Any additional arguments are passed straight to latexmk and override the defaults, e.g. -e '$pdf_mode=5' or an explicit -xelatex:

docker run --rm \
  -v /path/to/latex/project:/texlive/input \
  -v /path/to/output:/texlive/output \
  hieupth/texlive main.tex -e '$bibtex_use=2'

⁠License

Apache License 2.0⁠.
Copyright © 2026 Hieu Pham⁠. All rights reserved.

Tag summary

Content type

Image

Digest

sha256:498904bfb…

Size

2.6 GB

Last updated

18 days ago

docker pull hieupth/texlive