thesis/tex/view.sh
Marko Korhonen 5ae8118b34
Started laying down the thesis
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
2020-01-16 16:42:06 +02:00

16 lines
340 B
Bash
Executable file

#!/bin/bash
function finish {
killall entr
}
if [ ! -f main.pdf ]; then
xelatex -shell-escape -8bit main
fi
makeglossaries main
find chapters | entr -cp xelatex -shell-escape -8bit main &
#ls biblio.bib | entr -cp bibtex8 main &
#ls chapters/0abbr.tex | entr -cp makeglossaries main &
zathura >/dev/null 2>&1 main.pdf
trap finish EXIT