https://github.com/csegarragonz/latex-docker
A zero-install LaTeX distribution
https://github.com/csegarragonz/latex-docker
docker latex latexmk
Last synced: 2 months ago
JSON representation
A zero-install LaTeX distribution
- Host: GitHub
- URL: https://github.com/csegarragonz/latex-docker
- Owner: csegarragonz
- Created: 2022-08-10T09:39:35.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-26T09:03:47.000Z (10 months ago)
- Last Synced: 2025-04-09T06:07:17.155Z (3 months ago)
- Topics: docker, latex, latexmk
- Language: Python
- Homepage:
- Size: 36.1 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LaTeX in Docker [](https://github.com/csegarragonz/latex-docker/actions/workflows/tests.yml)
Zero-install LaTeX distribution for Linux.
## Quick Start
Navigate to the repository where the LaTeX source lives and:
```bash
docker run --rm \
-v $(pwd):/workdir \
-u $(id -u):$(id -g) \
csegarragonz/latex-docker:texlive_2024 main.tex
```To make it easier, copy this into your `.zshrc` or `.bashrc`:
```bash
alias latex-docker='docker run --rm -v $(pwd):/workdir -u $(id -u):$(id -g) csegarragonz/latex-docker:texlive_2024'
source ~/.zshrc
source ~/.bashrc
latex-docker main.tex
```## Acknowledgements
This repo is heavily inspired in [arkark/latexmk-docker](https://github.com/arkark/latexmk-docker)'s.
Given that the author had archived the latter, I decided to give it a crack
myself.