19 lines
335 B
Markdown
19 lines
335 B
Markdown
# Compile using docker:
|
|
|
|
```sh
|
|
# Build image
|
|
docker build --build-arg UID=$(id -u) --build-arg GID=$(id -g) -t latexmk-luatex .
|
|
|
|
# Compile .pdf
|
|
docker run --rm -v $(pwd):/workdir latexmk-luatex
|
|
```
|
|
|
|
or on windows:
|
|
|
|
```sh
|
|
# Build image
|
|
docker build -t latexmk-luatex .
|
|
|
|
# Compile .pdf
|
|
docker run --rm -v %cd%:/workdir latexmk-luatex
|
|
``` |