X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=templates%2Fcourse_print.sh;h=72ab8b803c7014ffdbf3ec7d9b77c54696c9caf7;hp=6f23b338f72ef1430d8d01bc8c637ef33356fa63;hb=c552e0b51dd1d27ef7ce042c074b9928cfc5685d;hpb=9da0f336d8e830196893925f3e13b278d0d50189 diff --git a/templates/course_print.sh b/templates/course_print.sh index 6f23b33..72ab8b8 100755 --- a/templates/course_print.sh +++ b/templates/course_print.sh @@ -1,4 +1,4 @@ -# Copyright 2014 - 2015 Paul Hänsch +# Copyright 2014 - 2016 Paul Hänsch # # This file is part of Confetti. # @@ -15,12 +15,13 @@ # You should have received a copy of the GNU Affero General Public License # along with Confetti. If not, see . -. ${_EXEC}/templates/text_attendee.sh +. ${_EXEC}/templates/text_cards.sh echo -E ' \documentclass[landscape,10pt]{article} -\usepackage[utf8]{inputenc} +\usepackage[utf8x]{inputenc} \usepackage{ngerman} +\usepackage{eurosym} \usepackage[landscape,margin=0.25in]{geometry} \usepackage{longtable} @@ -54,7 +55,7 @@ done \hline \endhead '"$( -list_attendance "$course" |sort -k 2 | debug |sed -r 's:^[0-9a-z\.]+ (.+) \(\*[0-9]{4}\)$:\1:;s:$: \& \& \& \& \& \& \& \& \& \& \\\\[3ex] \\hline:' +tex_clean "$(list_attendance "$course")" |sort -k 2 | debug |sed -r 's:^[0-9a-z\.]+ (.+) \(\*[0-9]{4}\)$:\1:;s:$: \& \& \& \& \& \& \& \& \& \& \\\\[3ex] \\hline:' )"' \end{longtable}