项目作者: tammolaube

项目描述 :
Docker container with minimal texlive installation
高级语言: Dockerfile
项目地址: git://github.com/tammolaube/docker-minimal-texlive.git
创建时间: 2020-02-23T16:25:13Z
项目社区:https://github.com/tammolaube/docker-minimal-texlive

开源协议:MIT License

下载


Docker Minimal TeX Live

Creates a container with a minimal installation of TeX Live.

Build

Use the --build-arg option with the variable TEX_PACKAGES to specify the packages that need to be installed in your container.

  1. $ docker build -t mintexlive --build-arg TEX_PACKAGES="koma-script verbatimbox readarray listofitems advdate marvosym babel-german" .

Run

To run, call the tex program you would like to run. For example, to run pdflatex on all files in current directory:

  1. $ docker run --rm -v "$PWD":/workdir -w /workdir mintexlive pdflatex *.tex

If no command is given the container will echo the environment variable TEX_PACKAGES specified at container build time:

  1. $ docker run --rm mintexlive
  2. Installed with tex packages: koma-script verbatimbox readarray listofitems advdate marvosym babel-german