]> git.plutz.net Git - confetti/commitdiff
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 afa43874864943db745756c15b77f39c4e0434df..4b9c4ae1d5ff11aaafc220eebc1b25eac2abeaef 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'