Public | Automated Build

Last pushed: a year ago
Short Description
A docker for LaTeX
Full Description

A docker for LaTeX


Build

Pull image (from Docker Hub):

docker pull pablocasia/latex

Compile a .tex file

Only use filename, without .tex extension

with pdflatex

docker run --rm -v `pwd`:/latex pablocasia/latex build filename

with pdflatex & Biber

Use -b option, example:

docker run --rm -v `pwd`:/latex pablocasia/latex build -b filename

with xelatex

docker run --rm -v `pwd`:/latex pablocasia/latex build_xelatex filename

Clean the log and other files during the build

Use -c option, examples:

docker run --rm -v `pwd`:/latex pablocasia/latex build -c filename
docker run --rm -v `pwd`:/latex pablocasia/latex build -cb filename
docker run --rm -v `pwd`:/latex pablocasia/latex build_xelatex -c filename

Clean the log and other files after the build

docker run --rm -v `pwd`:/latex pablocasia/latex clean
Docker Pull Command
Owner
pablocasia
Source Repository