Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

README.md

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: ""

About

A small script for generating LaTeX frontmatters for chapter downloads.

Resources

License

Releases

No releases published
You can’t perform that action at this time.