Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cristiangreco/docker-pdflatex
The texlive distribution packaged as a Docker image.
https://github.com/cristiangreco/docker-pdflatex
docker latex latexmk pdf pdflatex tex
Last synced: 2 months ago
JSON representation
The texlive distribution packaged as a Docker image.
- Host: GitHub
- URL: https://github.com/cristiangreco/docker-pdflatex
- Owner: cristiangreco
- License: mit
- Created: 2018-11-11T12:17:20.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2024-08-27T08:25:20.000Z (4 months ago)
- Last Synced: 2024-08-27T09:42:23.432Z (4 months ago)
- Topics: docker, latex, latexmk, pdf, pdflatex, tex
- Language: Shell
- Homepage:
- Size: 70.3 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pdflatex docker image
[![Docker
hub](https://img.shields.io/docker/pulls/cristiangreco/pdflatex.svg)](https://hub.docker.com/r/cristiangreco/pdflatex/)The texlive distribution packaged as a Docker image!
Use this image to compile latex sources without installing all latex packages on your system.
## Basic usage
Simply `cd` into your sources path and run `pdflatex` in the container mounting
current directory as a volume:```sh
$ docker run --rm -it -v $(pwd):/sources cristiangreco/pdflatex pdflatex doc.tex
```Output file `doc.pdf` will be placed in your sources directory.
## Multiple passes
If you need to make multiple passes just run `pdflatex` multiple times inside
the container:```sh
$ docker run --rm -it -v $(pwd):/sources cristiangreco/pdflatex /bin/sh -c "pdflatex doc.tex && pdflatex doc.tex"
```## Yet another docker image for `pdflatex`
You can find a number of different images on [Docker
Hub](https://hub.docker.com/search/?isAutomated=0&isOfficial=0&page=1&pullCount=0&q=latex&starCount=0)
which include `pdflatex`.This image is based on Debian and aims to be as small as possible while still
providing the full latex distribution.## License
Released under the [MIT license](LICENSE).