wod-character-sheet/MtAv1/Jake/.renderer.sh

13 lines
283 B
Bash
Raw Permalink Normal View History

2020-01-06 05:13:02 -06:00
#!/bin/bash
cd "$(dirname "$0")"
while inotifywait -e close_write *.tex; do
/usr/local/texlive/2018/bin/x86_64-linux/pdflatex -file-line-error -interaction nonstopmode Main.tex
mv Main.pdf Jake.pdf
mv Jake.log .Jake.log
rm Jake.out
rm Jake.aux
printf "\nJake updated\n"
done