Fix scripts/latex.sh