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 updated if the preprint relations are changed. The updating also takes place when the preprint is unposted and posted back again.
The common information obtained for the PDF title page are:
- Relation status
- Publication DOI (if the preprint has been published elsewhere)
- Preprint title
- Preprint authors
- Preprint DOI in current server
- Submitted date
- Posted date
The plugin also adds a new page at the end of the PDF file, containing the server's submission checklist at the moment the preprint is posted first time.
The latest release of this plugin is compatible with the following PKP applications:
- OPS 3.4.0
To download the plugin, go to the Releases page and download the tar.gz package of the latest release compatible with your website.
This plugin requires the installation of the CPDF binary in your system. You can download it at the GitHub repository. After that, you should make it executable from the command line. In Linux systems it can be done by placing the binary in the /usr/local/bin
directory and running chmod +x /usr/local/bin/cpdf
.
This plugin also requires a logo on your OPS, defined on Website Settings
> Appearance
> Logo
, so you need to upload an image. Images with any kind of transparency (alpha channel) are not supported and should not be used.
- poppler-utils
- php-imagick - needed for unit tests.
- phpunit - version 8, to run unit tests.
- 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´ file:
upload_max_filesize
andpost_max_size
wich the values must be at least 17M. - Navigate to
Settings
>Website
>Plugins
>Upload a new plugin
. - Under Upload file select the file titlePageForPreprint.tar.gz.
- Click Save and the plugin will be installed on your website.
- Install the development dependencies.
- Clone the repository
- Switch branch, if needed.
- Run
composer install
inside the repository. - 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” />
- Run
npm install
inside the repository to install module for the automated acceptance test.
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-2024 Lepidus Tecnologia
Copyright (c) 2020-2024 SciELO