1 # Copyright 2014 - 2015 Paul Hänsch
3 # This file is part of Confetti.
5 # Confetti is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU Affero General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or
8 # (at your option) any later version.
10 # Confetti is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU Affero General Public License for more details.
15 # You should have received a copy of the GNU Affero General Public License
16 # along with Confetti. If not, see <http://www.gnu.org/licenses/>.
18 . ${_EXEC}/templates/text_attendee.sh
21 \documentclass[landscape,10pt]{article}
22 \usepackage[utf8]{inputenc}
24 \usepackage[landscape]{geometry}
25 \usepackage{longtable}
29 \section*{Teilnehmende}
30 \begin{longtable}{|l|l|p{50mm}|p{80mm}|}
32 \textbf{'"$(l10n N)"'} &
33 \textbf{'"$(l10n BDAY)"'} &
34 \textbf{'"$(l10n TEL)"'} &
35 \textbf{'"$(l10n NOTE)"'} \\
40 list_attendance "$course" |sort -k 2 |while read line; do
41 cardfile="$(echo "$line" |cut -d\ -f1)"
42 list_attendee "$cardfile" |sed -r 's:$:\\\\[3ex] \\hline:'
50 \begin{longtable}{|l|c|c|c|c|c|c|c|c|c|c|}
57 list_attendance "$course" |sort -k 2 | debug |sed -r 's:^[0-9a-z\.]+ (.+) \(\*[0-9]{4}\)$:\1:;s:$: \& \& \& \& \& \& \& \& \& \& \\\\[3ex] \\hline:'