https://github.com/peaceiris/docker-latex
Docker image for LaTeX
https://github.com/peaceiris/docker-latex
Last synced: 6 months ago
JSON representation
Docker image for LaTeX
- Host: GitHub
- URL: https://github.com/peaceiris/docker-latex
- Owner: peaceiris
- License: mit
- Created: 2020-04-10T05:18:11.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2024-09-26T19:31:20.000Z (almost 2 years ago)
- Last Synced: 2024-10-06T04:04:24.433Z (almost 2 years ago)
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/peaceiris/latex
- Size: 98.6 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Docker Image for LaTeX
## `docker-compose.yml`
```yaml
version: "3"
services:
latex:
image: 'ghcr.io/peaceiris/latex:v1.1.0-full'
container_name: 'latex_v1.1.0'
volumes:
- ${PWD}:/work
environment:
- DISPLAY=docker.for.mac.localhost:0
stdin_open: true
tty: true
working_dir: /work
command: latexmk -pdf -pvc
```
```perl
# .latexmkrc
@default_files = ('paper.tex');
```
```sh
docker-compose up
```
`paper.pdf` will be generated.
## Test
- [IEEE - Manuscript Templates for Conference Proceedings](https://www.ieee.org/conferences/publishing/templates.html)
- [How to install LaTex on Ubuntu 18.04 Bionic Beaver Linux - LinuxConfig.org](https://linuxconfig.org/how-to-install-latex-on-ubuntu-18-04-bionic-beaver-linux)