Просмотр исходного кода

Recompile as needed to get a clean PDF

Vecna 1 день назад
Родитель
Сommit
0989e9c837
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      scripts/get-stats.sh

+ 1 - 1
scripts/get-stats.sh

@@ -12,7 +12,7 @@ if [ ! -f output ]; then
     ./scripts/get-stats.py > output
     ./scripts/get-stats.py > output
 fi
 fi
 
 
-pdflatex appendix-a-results.tex > /dev/null
+while pdflatex appendix-a-results.tex && grep -q "Rerun to get" appendix-a-results.log; do true; done > /dev/null
 
 
 echo -n "Number of bridges that received more than 0 connections: "
 echo -n "Number of bridges that received more than 0 connections: "
 grep '^Single: ' output | grep 'max=' | wc -l
 grep '^Single: ' output | grep 'max=' | wc -l