Compile LaTeX documents easily by installing all texlive packages in a docker container.
- Pull the docker image:
docker pull dlazesz/texlive-full
- Put
latexdockercmd.sh
into the PATH and add execute bit (chmod +x latexdockercmd.sh
) - Go to the directory with the LaTeX sources
- Compile:
latexdockercmd.sh latexmk -cd -f -jobname=output -xelatex -outdir=./compile -auxdir=./compile -interaction=batchmode -halt-on-error -pdf ./main.tex
- The outut is at:
compile/output.pdf
- Profit! :)
docker build . -t dlazesz/texlive-full
On Docker Hub: https://hub.docker.com/r/dlazesz/texlive-full
This work is licensed under the GNU GPL 3.0 license.