default.pdf.do 154 B

1234567
  1. #!/bin/bash -e
  2. redo-ifchange "$1.tex"
  3. TMPDIR="$(mktemp -d)"
  4. xelatex -output-directory="${TMPDIR}" "$1.tex"
  5. mv "${TMPDIR}/$1.pdf" "$3"
  6. rm -rf "${TMPDIR}"