~/tools/ojs-galley-pdf-cover-page$
Add a cover page with the citation, DOI and licence to OJS galley PDFs in your browser, one or a whole issue from a CSV. Pages unchanged, nothing uploaded.
Published
Your PDFs stay on this computer: the cover is made and added in this browser and nothing is uploaded. The galley’s own pages are not changed.
Fix these 2
The real cover takes the size of the galley’s first page.
Fill in the journal name and the title to see the cover.
~/tools/ojs-galley-pdf-cover-page$cat how-to-use
Fill in the journal name, ISSN and licence once, then the article: title, authors, year, volume, issue, pages and DOI, as OJS shows them on the article page. The citation line is a template: write a field in braces where it goes. The preview shows the cover as it will print.
Choose the galley PDF and download it with the cover as page one. The cover takes the size of the galley’s first page; the galley’s own pages are not changed. An encrypted PDF, a file over 200 MB, a DOI that does not start with 10. or text in a script the cover cannot print is refused with the reason.
For a whole issue, make a CSV with one row per article (pdf, title, authors, pages, doi, and more) and choose it with all the PDFs: you get one zip with every galley covered under its own file name. In OJS, upload each covered PDF as the article’s galley in its publication’s Galleys tab.
~/tools/ojs-galley-pdf-cover-page$cat proof
On a fresh server for each Ubuntu release, with OJS 3.5.0-6 installed as the OJS course installs it, this tool’s own code put a cover in front of two galley PDFs: one by itself, one through a CSV row as for a whole issue. OJS’s own importExport.php imported both as the articles’ galleys, and the journal served each back byte for byte. Read with poppler on the server, each had one page more, the cover’s title, authors, citation, DOI and licence on page 1, and every original page after it with the same text as before. The run log shows every command and what the server printed.
Ubuntu 26.04.1: passed all 21 checksRead the run log (Ubuntu 26.04.1)
Ubuntu 24.04.5: passed all 21 checksRead the run log (Ubuntu 24.04.5)
Ubuntu 26.04.1
Recorded on the test server just before the first step and again after the last one. Disk used on / (logs written during the run included): +1.7 MB.
No package, boot service, listening port or file in /etc changed.
Ubuntu 24.04.5
Recorded on the test server just before the first step and again after the last one. Disk used on / (logs written during the run included): +1.9 MB.
No package, boot service, listening port or file in /etc changed.
Every command on this page was run on this server and the output shown is what it printed. How we test