11 lines
203 B
Bash
11 lines
203 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
docker run --rm -it \
|
||
|
--volume "$PWD:/data" \
|
||
|
--volume "$HOME/.latexmkrc:/data/ro" \
|
||
|
--volume "$HOME/texmf:/root/texmf" \
|
||
|
--workdir "/data" \
|
||
|
--entrypoint=$1 \
|
||
|
latex \
|
||
|
${@:2}
|