Getty Ritter 6 anni fa
parent
commit
166aad2b06
1 ha cambiato i file con 8 aggiunte e 0 eliminazioni
  1. 8 0
      default.pdf.do

+ 8 - 0
default.pdf.do

@@ -0,0 +1,8 @@
+#!/bin/bash -e
+
+echo $1 $2 $3
+TMPDIR="$(mktemp -d)"
+redo-ifchange "$1.tex"
+xelatex -output-directory="${TMPDIR}" "$1.tex"
+mv "${TMPDIR}/$1.pdf" "$3"
+rm -rf "${TMPDIR}"