compile fct
This commit is contained in:
parent
b55a190875
commit
4bc899225c
@ -5,16 +5,20 @@ cleanup () {
|
||||
exit $1
|
||||
}
|
||||
|
||||
compile () {
|
||||
tectonic $1 || echo
|
||||
}
|
||||
|
||||
trap cleanup HUP TERM INT
|
||||
|
||||
SRC=hip2022.tex
|
||||
|
||||
echo -ne "\e[;1H\e[2J"
|
||||
while true; do
|
||||
tectonic $SRC || echo
|
||||
compile $SRC
|
||||
FILES=$(echo *.tex)
|
||||
while inotifywait $FILES ; do
|
||||
echo -ne "\e[;1H\e[2J"
|
||||
tectonic $SRC || echo
|
||||
compile $SRC
|
||||
done
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user