Skip to content

EditionOpenAccess/eoa_metadator

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?
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
November 18, 2021 14:06
June 22, 2017 13:38
January 22, 2020 14:18
November 20, 2018 13:56
November 18, 2021 14:05

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

Stars

Watchers

Forks

Releases

No releases published