forked from headgeekette/latex_docker https://github.com/headgeekette/latex_docker.git
  • TeX 71.6%
  • Dockerfile 28.4%
Find a file
2021-08-01 11:02:21 +00:00
.dockerignore Added .dockerignore 2016-01-31 01:04:45 +08:00
Dockerfile downloaded copy of v.2021 installer 2021-08-01 11:02:21 +00:00
install-tl-unx.tar.gz downloaded copy of v.2021 installer 2021-08-01 11:02:21 +00:00
LICENSE Initial commit 2016-01-27 16:38:54 +08:00
README.md Updated README.md 2021-08-01 10:53:57 +00:00
sample.tex Added sample.tex to be used for testing 2021-08-01 10:51:52 +00:00
texlive.profile Updated files to use 2021 2021-08-01 10:49:49 +00:00

Description

This docker was created for the sole purpose of generating PDF files through texliveonfly.

texliveonfly will take care of downloading any other packages needed to compile the .tex file and generate the .pdf. To keep texliveonfly from downloading the packages every time you run this docker, I would suggest building a new Dockerfile for your LaTeX project with this as your base image. Then run tlmgr to install the rest of the packages needed for your project.

Usage

To use the default pdflatex compiler:

docker run -v `pwd`:/source headgeekette/docker-latex [filename].tex

To use XeTeX:

docker run -v `pwd`:/source headgeekette/docker-latex --compiler=xetex [filename].tex