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
- Host: GitHub
- URL: https://github.com/pseewald/concert-flyer-generator
- Owner: pseewald
- Created: 2017-02-04T06:27:48.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-03-27T14:49:35.000Z (over 8 years ago)
- Last Synced: 2025-12-05T15:31:17.444Z (7 months ago)
- Language: HTML
- Homepage:
- Size: 3.48 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)