run pdflatex twice, to ensure correct headings
authorpaul <paul@plutz.net>
Sat, 21 Mar 2015 12:02:51 +0000 (12:02 +0000)
committerpaul <paul@plutz.net>
Sat, 21 Mar 2015 12:02:51 +0000 (12:02 +0000)
svn path=/trunk/; revision=59

actions/generate_courselist.sh

index afa4387..4b9c4ae 100755 (executable)
@@ -141,6 +141,7 @@ if [ -r "${_DATA}/ical/${course}" ]; then
   . ${_EXEC}/templates/course_print.sh >"${_DATA}/temp/courselist_${course}.tex"
   [ -e "${_DATA}/temp/courselist_${course}.pdf" ] && rm "${_DATA}/temp/courselist_${course}.pdf"
   "$pdflatex" -halt-on-error -output-directory "${_DATA}/temp/" "${_DATA}/temp/courselist_${course}.tex" |debug >/dev/null
+  "$pdflatex" -halt-on-error -output-directory "${_DATA}/temp/" "${_DATA}/temp/courselist_${course}.tex" |debug >/dev/null
 fi
 if [ -r "${_DATA}/temp/courselist_${course}.pdf" ]; then
   echo 'Content-Type: application/x-pdf\n'