5ae8118b34
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
16 lines
340 B
Bash
Executable file
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
|