An open API service indexing awesome lists of open source software.

https://github.com/pseewald/concert-flyer-generator

This is an example of automatic flyer creation using a json form, python and latex
https://github.com/pseewald/concert-flyer-generator

Last synced: 4 months ago
JSON representation

This is an example of automatic flyer creation using a json form, python and latex

Awesome Lists containing this project

README

          

# Concert Flyer Generator

This is a flyer generator for print ready program flyers. It is used as an automatic solution to quickly create flyers for recurring events.

It is specifically targeting classical concerts but could be modified for other events. It uses a web form to collect data in json format and a python script to generate a pdf flyer from json using latex and tikz.

## Usage
1. go to the [web form](https://pseewald.github.io/concert-flyer-generator/) to specify the concert program.
2. download the json file.
3. Invoke the python script [generate_flyer.py](generate_flyer.py) as
```
./generate_flyer.py
```
to create the pdf.

## Options
A background can be specified by
```
./generate_flyer.py --background
```
Various formatting options (font, background color, spacings) can be specified by a `config` file in the same directory as `generate_flyer.py`. Example `config` files can be found in [examples](examples).

## Requirements

* XeLaTeX
* Latexmk
* Python 2.7
* Latex packages: tikz, geometry, fontspec, background, setspace
* Python modules: [jsonschema](https://github.com/Julian/jsonschema), [jinja2](https://github.com/pallets/jinja), [latex](https://github.com/mbr/latex)