diasjoaovitor-zz / titlePageForPreprint

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Title Page Plugin

This plugin creates a title page on PDF files submitted to preprint servers. The title page is a page added to the beginning of the PDF file, containing a series of information about the preprint when it is posted. After the preprint is posted, the title page is also updated if the preprint relations are changed.

The common information obtained for PDF title page are:

  • Relation status
  • Publication DOI (if it was published in a journal)
  • Preprint title
  • Preprint authors
  • Preprint DOI in current server
  • Submission preparation checklist
  • Submitted date
  • Posted date

Compatibility

The latest release of this plugin is compatible with the following PKP applications:

  • OPS 3.3.0

Plugin Download

To download the plugin, go to the Releases page and download the tar.gz package of the latest release compatible with your website.

Installation dependencies

Development dependencies

Installation

  1. Install the 'poppler-utils' dependency.
  2. Enter the administration area of ​​your OPS website through the Dashboard. In case OPS raise the file size error, check out the variables on ´php.ini´: upload_max_filesize and post_max_size wich the values must be at least 17M.
  3. Navigate to Settings> Website> Plugins> Upload a new plugin.
  4. Under Upload file select the file titlePageForPreprint.tar.gz.
  5. Click Save and the plugin will be installed on your website.
  6. This plugin requires the CPDF binary at tools/ being executable at your server. The plugin won't execute its features until this binary is marked as executable.
  7. This plugin also requires a logo defined on Website Settings > Apearance > Logo, so you need to upload an image. Images with any kind of transparency (alpha channel) are not supported and should not be used.

Installation for development

  1. Install the development dependencies.
  2. Clone the repository
  3. Switch branch, if needed.
  4. Run composer install inside the repository.
  5. Modify the file: /etc/ImageMagick-6/policy.xml , to allow read/write permissions to PDF, changing this specific line: <policy domain=“coder” rights="none" pattern=“PDF” /> to this: <policy domain=“coder” rights=“read|write” pattern=“PDF” />
  6. Run npm install inside the repository to install module for the automated acceptance test.

License

Since this plugin uses the CPDF library, make sure to check its license in order to know if your organization can use it.

This plugin is licensed under the GNU General Public License v3.0

Copyright (c) 2020-2021 Lepidus Tecnologia

Copyright (c) 2020-2021 SciELO

About

License:GNU General Public License v3.0


Languages

Language:PHP 96.1%Language:JavaScript 3.9%