项目作者: nelsond

项目描述 :
Build image for TeX Live distribution
高级语言: Dockerfile
项目地址: git://github.com/nelsond/docker-texlive.git
创建时间: 2019-10-19T10:27:07Z
项目社区:https://github.com/nelsond/docker-texlive

开源协议:

下载


TeX Live docker images

This repository contains Dockerfiles to build images for different
versions of the (full) TeX Live distribution based on the ubuntu:18.04
image. Currently, the following releases of TeX Live are supported:

  • 2016
  • 2017
  • 2018
  • 2019
  • 2020
  • 2021
  • 2022 (current release, tagged latest)

Old releases are installed from the tug.org/historic archive.

Installation

All images are prebuilt on hub.docker.com and can be directly installed with docker create.

  1. $ docker create nelsond/texlive:2016

Note that the images are quite large (~3 GB) since the full TeX Live
distribution is installed.

Example usage

For building LaTeX documents against a specifice release of Tex
Live, you can use:

  1. $ echo '\documentclass{article}\begin{document}Hello World\end{document}' > test.tex
  2. $ docker run -v $(pwd):/source nelsond/texlive:2016 latexmk -pdf /source/test.tex --output-directory=/source

In case you want to create your own Dockerfile, note that
/usr/local/texlive/<release> has been added to your PATH.

  1. FROM nelsond/texlive:2016
  2. RUN tlmgr update --self --all # update all packages