Creates pdf files ready to be printed to make badges (e.g. on perforated paper). To use you will have to:
- Have all your participants collected in a csv file (e.g.
participants/list.csv
) - Fix the LaTeX template
tex/template_top.tex
to your needs. The current template is for 8 badges of dimension 60mm x 90mm printed on perforated A4 paper - Run the python script
- Run the bash script
python create_badges.py
-h, --help show this help message and exit
-V, --verbose increase output verbosity
-i INFILENAME, --infilename INFILENAME
Input file name
-o OUTFILENAME, --outfilename OUTFILENAME
Input file name
-d DELIMITER, --delimiter DELIMITER
Delimiter of the csv input file, by default ","
-r REMOVEROWS, --removerows REMOVEROWS
Rows to be removed
-b NBADGESPPAGE, --nbadgesppage NBADGESPPAGE
Number of badges per page
-n NAMEKEY, --namekey NAMEKEY
Key for name field
-a AFFKEY, --affkey AFFKEY
Key for affiliation field
Various .tex files, containing 8 lines each (1 line == 1 badge)
source compile.sh
One .tex file per page, assembled from the template and the python script outputs, and the corresponding compiled .pdf files