/latex-docker

A zero-install LaTeX distribution

Primary LanguagePython

LaTeX in Docker Tests

Zero-install LaTeX distribution for Linux.

Quick Start

Navigate to the repository where the LaTeX source lives and:

docker run --rm \
  -v $(pwd):/workdir \
  -u $(id -u):$(id -g) \
  csegarragonz/latex-docker:texlive_2024 main.tex

To make it easier, copy this into your .zshrc or .bashrc:

alias latex-docker='docker run --rm -v $(pwd):/workdir -u $(id -u):$(id -g) csegarragonz/latex-docker:texlive_2024'
source ~/.zshrc
source ~/.bashrc
latex-docker main.tex

Acknowledgements

This repo is heavily inspired in arkark/latexmk-docker's. Given that the author had archived the latter, I decided to give it a crack myself.