X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=templates%2Fcourse_print.sh;h=72ab8b803c7014ffdbf3ec7d9b77c54696c9caf7;hp=3ee01fe13341869b54cf0aa1d3b83bd50c698b63;hb=c552e0b51dd1d27ef7ce042c074b9928cfc5685d;hpb=64ba969e05c05736d9c410c2829a525d8e9c76d6 diff --git a/templates/course_print.sh b/templates/course_print.sh old mode 100644 new mode 100755 index 3ee01fe..72ab8b8 --- 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,19 +15,20 @@ # 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[landscape]{geometry} +\usepackage{eurosym} +\usepackage[landscape,margin=0.25in]{geometry} \usepackage{longtable} \begin{document} \section*{Teilnehmende} -\begin{longtable}{|l|l|p{50mm}|p{80mm}|} +\begin{longtable}{|p{60mm}|l|p{50mm}|p{80mm}|} \hline \textbf{'"$(l10n N)"'} & \textbf{'"$(l10n BDAY)"'} & @@ -47,14 +48,14 @@ done \newpage \section*{Termine} -\begin{longtable}{|l|c|c|c|c|c|c|c|c|c|c|} +\begin{longtable}{|p{60mm}|c|c|c|c|c|c|c|c|c|c|} \hline '"$(get_dates)"' \\ \hline \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}