This docker image supports full TeX Live 2019 with following additions:
- Ghostscript
- Gnuplot
- GraphViz
- Inkscape
- Java headless
- latexmk
- Pandoc
- pax
- pdftk
- Python 3, pip, pyparsing, python-docx
docker run --rm -it -v $(pwd):/home danteev/texlive latexmk -pdf document.tex
Usage in GitHub Workflows
Create a file .github/workflows/build.yml
with following content:
name: Build
on: [push]
jobs:
build_latex:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v1
- name: Compile document.tex
uses: dante-ev/latex-action@master
with:
root_file: document.tex
Usage in CircleCI 2.0:
Create file .circle/config.yml
with following content:
version: 2
jobs:
build:
docker:
- image: danteev/texlive
steps:
- checkout
- run: latexmk -pdf document.tex
Usage in Travis CI:
Create file .travis.yml
with following content:
dist: bionic
language: generic
services: docker
script:
- docker run --rm -it -v $(pwd):/home danteev/texlive latexmk -pdf document.tex
Usage in GitLab CI
Create file .gitlab-ci.yml
with following content:
build:
image: danteev/texlive
stage: build
script:
- latexmk -pdf document.tex
artifacts:
paths:
- document.pdf
You can run latest stable version by using the tag TL2017
:
docker run --rm -it -v $(pwd):/home danteev/texlive:TL2017 latexmk document.tex
We decided to offer latest TeX Live 2019 (as time of building), because this ensures recent packages. We base on Ubuntu Cosmic as this is the latest Ubuntu version available during building.