common/bin/latex-runtime.sh

11 lines
214 B
Bash
Executable File

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