1 # Copyright 2014 - 2016 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_cards.sh
21 \documentclass[landscape,10pt]{article}
22 \usepackage[utf8x]{inputenc}
25 \usepackage[landscape,margin=0.25in]{geometry}
26 \usepackage{longtable}
30 \section*{Teilnehmende}
31 \begin{longtable}{|p{60mm}|l|p{50mm}|p{80mm}|}
33 \textbf{'"$(l10n N)"'} &
34 \textbf{'"$(l10n BDAY)"'} &
35 \textbf{'"$(l10n TEL)"'} &
36 \textbf{'"$(l10n NOTE)"'} \\
41 list_attendance "$course" |sort -k 2 |while read line; do
42 cardfile="$(echo "$line" |cut -d\ -f1)"
43 list_attendee "$cardfile" |sed -r 's:$:\\\\[3ex] \\hline:'
51 \begin{longtable}{|p{60mm}|c|c|c|c|c|c|c|c|c|c|}
58 tex_clean "$(list_attendance "$course")" |sort -k 2 | debug |sed -r 's:^[0-9a-z\.]+ (.+) \(\*[0-9]{4}\)$:\1:;s:$: \& \& \& \& \& \& \& \& \& \& \\\\[3ex] \\hline:'