A collection of scripts to generate the SchunterKino flyers.
Install Python dependencies once:
pip install -r requirements.txt
Generates multiple SVG flyers by transforming a template. Resources (paths to images, texts, etc.) are given as a JSON file.
Simple:
python flyer_generator.py program.json
Choosing a different template file:
python flyer_generator.py -t template.svg program.json
Changing the output directory:
python flyer_generator.py -o flyers program.json
Overwriting existing files:
python flyer_generator.py -f program.json
Generates a A4 two page layout PDF from a A5 flyer SVG. Suitable for black and white printing (no background)
Requires Inkscape v0.91+. Also due to how Inkscapes command line tool interacts with the GUI, the dropdown menu in "Align and Distribute" (ctrl+shift+A) must be set to "Relative to: Page" or the result will be incorrect.
This will create the file "Flyer - Druck.pdf":
./print_version.sh Flyer.svg
To create the PDFs for all flyers in a folder:
./print_version.sh flyers/*.svg
Generates a single overview SVG flyer from a JSON file and a template.
Simple:
python program_generator.py program.json
Choosing a different template file:
python program_generator.py -t template_overview.svg program.json
Changing the output file:
python program_generator.py -o program.svg program.json
Overwriting existing files:
python program_generator.py -f program.json