A collection of scripts to generate the SchunterKino flyers.
Install Python dependencies once:
pip install -r requirements.txtGenerates 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.jsonChoosing a different template file:
python flyer_generator.py -t template.svg program.jsonChanging the output directory:
python flyer_generator.py -o flyers program.jsonOverwriting existing files:
python flyer_generator.py -f program.jsonGenerates 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.svgTo create the PDFs for all flyers in a folder:
./print_version.sh flyers/*.svgGenerates a single overview SVG flyer from a JSON file and a template.
Simple:
python program_generator.py program.jsonChoosing a different template file:
python program_generator.py -t template_overview.svg program.jsonChanging the output file:
python program_generator.py -o program.svg program.jsonOverwriting existing files:
python program_generator.py -f program.json