Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
Code Generator
==============
Generates LaTeX code for informative frontmatters. These will be
attached to the chapter PDFs of EOA publications we offer for
download.
With the output comes also a script file which will replace the
original files on the server.
Copy the `generated_files` folder to the server and from there run the
script.
## Dependencies
- texlive-xetex
- python3-pypdf2
## Config file
The program requires a config file that stores some paths and, if a
postgres database is used, the credentials for it. If several
publication platforms are used, simply create different config files
for each instance.
It should contain at least the following fields:
```
[server]
media_dir:
production_url:
```
When using SQLite, you can specify the database file like this:
```
[sqlite]
database_file:
```
Insert the postgres database credentials like this:
```
[postgres]
database_name:
user:
host:
password: ""
```