/texlive-sphinx

Primary LanguageDockerfileMIT LicenseMIT

Texlive-Sphinx docker image

GitHub sjtuhpc/texlive-sphinx

Docker Hub sjtuhpc/texlive-sphinx

Docker Pulls

Docker Cloud Automated build

Docker Cloud Build Status

A docker image with texlive-full installed for LaTeX CI builds.

Build

Build this Docker image:

docker build . -t sjtuhpc/texlive-sphinx:latest --file Dockerfile

Optionally, push the image to docker hub:

docerk login
docker push sjtuhpc/texlive-sphinx:latest

Usage

To run the container with the current working directory mounted:

docker run --rm -it -v ${PWD}:/data sjtuhpc/texlive-sphinx:latest pdflatex filename.tex

To build SJTU HPC Docs , try:

git clone https://github.com/SJTU-HPC/docs.hpc.sjtu.edu.cn.git
docker run --rm -it -v ${PWD}:/data sjtuhpc/texlive-sphinx:latest ack '.*raw.*html' docs
docker run --rm -it -v ${PWD}:/data sjtuhpc/texlive-sphinx:latest make -C tex all
docker run --rm -it -v ${PWD}:/data sjtuhpc/texlive-sphinx:latest make -C docs clean latexpdf
docker run --rm -it -v ${PWD}:/data sjtuhpc/texlive-sphinx:latest make -C docs clean html

Credit

LaurensS/texlive-full https://github.com/LaurensS/texlive-full