Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/csegarragonz/latex-docker

A zero-install LaTeX distribution
https://github.com/csegarragonz/latex-docker

docker latex latexmk

Last synced: about 2 months ago
JSON representation

A zero-install LaTeX distribution

Awesome Lists containing this project

README

        

# LaTeX in Docker [![Tests](https://github.com/csegarragonz/latex-docker/actions/workflows/tests.yml/badge.svg?branch=main)](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.