Vitaliy-1 / JATSParserPlugin

OJS3 Plugin for parsing JATS XML and displaying it on article detail page
GNU General Public License v3.0
27 stars 24 forks source link

Convert JATS to PDF statically #41

Closed Vitaliy-1 closed 3 years ago

Vitaliy-1 commented 3 years ago

Historically, JATS to PDF conversion is done on the fly, when a user accesses the page, TCPDF renders data and sends generated PDF to the browser, see inline (I) parameter: https://github.com/Vitaliy-1/JATSParserPlugin/blob/e861fc56341b28072399fbfca983a4704ccff621/JatsParserPlugin.inc.php#L343

In 2.2 the behavior of how JATS XML is rendered has changed, which will lead to the removal of a deprecated code related to the rendering of the XML galley page.

PDF conversion should also be done statically. Add the option to create a PDF galley based on the full-text under the Publication -> Full-Text tab.