common/bin/latex-runtime.sh

11 lines
203 B
Bash
Raw Normal View History

#!/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}