Compile latex sources without the need to install latex on your system
1.8K
This container helps compiling latex sources without the need to install all latex packages on your system.
docker-latex pdflatex main.texgit clone https://github.com/ckaserer/docker-latex.git
source docker-latex/bashrc
docker-latex pdflatex main.tex
# Or use latexmk (best option)
docker-latex pdflatex latexmk -cd -f -interaction=batchmode -pdf main.tex
# Or make multiple passes (does not start container twice)
docker-latex /bin/sh -c "pdflatex main.tex && pdflatex main.tex"
If packages are missing, extend the image to your liking.
FROM ckaserer/latex:full
# Minted + Pygments
RUN tlmgr install minted
docker build -t mycustomlateximg .
bashrc to add a shortcut to build and use your new image mycustomlateximg.A list of available ctan packages can be found here
Content type
Image
Digest
Size
4.1 GB
Last updated
over 6 years ago
docker pull ckaserer/latex