From dc9e51b60555ac989c37b8e74b9e4672c608434b Mon Sep 17 00:00:00 2001 From: Eddy Loose Date: Mon, 10 Jun 2019 23:00:29 +0200 Subject: [PATCH] build in progress --- badge.tex | 4 ++-- druck.tex | 2 +- empty_badges.txt | 3 --- empty_badges_backup.txt | 20 ++++++++++++++++++++ list_reorder.py | 2 +- 5 files changed, 24 insertions(+), 7 deletions(-) create mode 100644 empty_badges_backup.txt diff --git a/badge.tex b/badge.tex index 661d3a2..a7d7531 100644 --- a/badge.tex +++ b/badge.tex @@ -10,7 +10,7 @@ \usepackage{background} \backgroundsetup{scale = 1.0, angle = 0, opacity = 1.0,% contents = {\includegraphics[width = \paperwidth, height = \paperheight, - keepaspectratio] {templates/Badge_Helfer.pdf}}}% + keepaspectratio] {templates/Badge_Orga.pdf}}}% \usepackage{qrcode} \usepackage{ifthen} @@ -204,7 +204,7 @@ \begin{document} \newread\file% -\openin\file=list_helfer_impr.csv +\openin\file=list_orga_new.csv \loop% \read\file% diff --git a/druck.tex b/druck.tex index a74e6ce..1498ed5 100644 --- a/druck.tex +++ b/druck.tex @@ -5,7 +5,7 @@ \usepackage{background} \backgroundsetup{scale = 1.0,angle = 0, opacity = 1.0,% contents = {\includegraphics[width = \paperwidth, height = \paperheight, - keepaspectratio]{foldmarks.pdf}}}% + keepaspectratio]{badge.pdf}}}% % % for foldmarks % \usepackage{tikz} diff --git a/empty_badges.txt b/empty_badges.txt index ff77cc7..7bdcc3b 100644 --- a/empty_badges.txt +++ b/empty_badges.txt @@ -1,6 +1,3 @@ -3889744831 -2060815223 -2870887596 9942826716 8147090964 3689932700 diff --git a/empty_badges_backup.txt b/empty_badges_backup.txt new file mode 100644 index 0000000..ff77cc7 --- /dev/null +++ b/empty_badges_backup.txt @@ -0,0 +1,20 @@ +3889744831 +2060815223 +2870887596 +9942826716 +8147090964 +3689932700 +4788964330 +2998912377 +1701827862 +7426068925 +4784224602 +5719312188 +7173459290 +1941379358 +8306879159 +3062530934 +3427708822 +6569714123 +8152759092 +9002159860 diff --git a/list_reorder.py b/list_reorder.py index 586a803..1023749 100644 --- a/list_reorder.py +++ b/list_reorder.py @@ -35,7 +35,7 @@ def main(): for c in ret: for l in c: f.write(l) - return + with open(sys.argv[3],'w+') as f: for s in secrets: f.write(s)