2020-03-27 03:17:34 +01:00
|
|
|
# Schemes/Tags
|
|
|
|
## Sizes
|
|
|
|
* `infraonly` - infrastructure-only scheme (no TeX at all)
|
|
|
|
* `minimal` - minimal scheme (plain only)
|
|
|
|
* `basic` - basic scheme (plain and latex)
|
|
|
|
* `small` - small scheme (basic + xetex, metapost, a few languages)
|
|
|
|
* `medium` - medium scheme (small + more packages and languages)
|
|
|
|
* `full`, `latest` - full scheme (everything)
|
|
|
|
|
|
|
|
## Extra Schemes
|
|
|
|
* `gust` - GUST TeX Live scheme
|
|
|
|
* `context` - ConTeXt scheme
|
|
|
|
* `tetex` - teTeX scheme (more than medium, but nowhere near full)
|
|
|
|
|
2020-03-27 19:35:23 +01:00
|
|
|
## Build Info (Image tree)
|
|
|
|
```
|
2020-03-28 02:15:43 +01:00
|
|
|
infraonly (base image with ubuntu:18.04)
|
2020-03-28 02:19:10 +01:00
|
|
|
+---> minimal
|
|
|
|
+---> basic
|
|
|
|
+---> small
|
|
|
|
+---> context
|
|
|
|
+---> gust
|
|
|
|
+---> medium
|
|
|
|
+---> tetex
|
2020-03-28 02:15:43 +01:00
|
|
|
+---> full
|
2020-03-27 19:35:23 +01:00
|
|
|
```
|
|
|
|
|
2020-03-27 03:17:34 +01:00
|
|
|
# How to use
|
|
|
|
Mount your source code at `/data` and run whatever you want with LaTeX.
|
|
|
|
|
|
|
|
# How to extend an Image
|
|
|
|
To extend the one of the docker-images with your packages.
|
|
|
|
|
|
|
|
`FROM icaotix/latex:<tag>`
|
2020-03-26 23:19:37 +01:00
|
|
|
|
|
|
|
#### Install latex packages
|
|
|
|
` RUN tlmgr install latexmk `
|
|
|
|
` RUN tlmgr install biber `
|
|
|
|
|
|
|
|
#### Minted + Pygments
|
|
|
|
` RUN tlmgr install minted `
|
|
|
|
```
|
|
|
|
RUN apt-get update \
|
|
|
|
&& apt-get install -qy python python-pip \
|
|
|
|
&& pip install pygments \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
```
|