From: paul Date: Sat, 21 Mar 2015 12:02:51 +0000 (+0000) Subject: run pdflatex twice, to ensure correct headings X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=a1daa415be0ade91520fc8c1207de338a8940ce9;p=confetti run pdflatex twice, to ensure correct headings svn path=/trunk/; revision=59 --- diff --git a/actions/generate_courselist.sh b/actions/generate_courselist.sh index afa4387..4b9c4ae 100755 --- a/actions/generate_courselist.sh +++ b/actions/generate_courselist.sh @@ -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'