From d92aa9d79a3f80557119b660f7191e96b7d79878 Mon Sep 17 00:00:00 2001 From: Holger Cremer Date: Fri, 5 Apr 2019 18:01:28 +0200 Subject: Several pdf generation improvements. - 2 scripts to create barcodes - "joined add" parameter to create partial lists for updates - a dockerfile to easy creation --- generation/createBarcodeList.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 generation/createBarcodeList.sh (limited to 'generation/createBarcodeList.sh') diff --git a/generation/createBarcodeList.sh b/generation/createBarcodeList.sh new file mode 100755 index 0000000..a62335e --- /dev/null +++ b/generation/createBarcodeList.sh @@ -0,0 +1,15 @@ +#!/bin/bash +FOLDER=barcodes + +echo "Cleanup..." +rm -rf $FOLDER +mkdir -p $FOLDER + +echo "Create user list from db..." +./query.sh $1 + +echo "Make latex document and images..." +ruby barcodelist.rb users.csv + +echo "Run pdflatex..." +( cd $FOLDER && pdflatex barcode.latex ) -- cgit v1.2.3