I have made a major update to the theme. Most changes were made in JATS Parser; it was fully rewritten and now supports many JATS XML tags, including different text formatting (bold, italic, superscript, etc.; nested text formatting).
I have pushed all changes into the master branch. Hope, someone could test new theme version before release.
The support for APA references is added partially. Style reference can be changed through appearance menu. I want to ask you to create necessary template layout. Of course, if you have some experience in it. APA templates should be created here: https://github.com/Vitaliy-1/oldGregg/tree/master/templates/frontend/parser/apa
I have already made layout for journal articles. What is left - make similar changes for books, chapters, and conferences. You can find an example in the vancouver folder: https://github.com/Vitaliy-1/oldGregg/tree/master/templates/frontend/parser/vancouver
Tell me if you are interested in this.
Also, developers working with OJS may find interesting the part of the code which transforms JATS XML into the objects (JATS Parser): https://github.com/Vitaliy-1/JATSParser
It works quite simple. Code sample:
use JATSParser\Body\Document as Document; $jatsDocument = new Document("document.xml");
document.xml is the path to an actual JATS XML file.
$jatsDocument variable contains the PHP object model of an article. It is worth to mention that the JATS Parser doesn’t validate XML, but it can be changed in the future. @asmecher - maybe you find the possibility of transforming JATS XML into PHP objects interesting as it allows to reuse article’s parts (such as references) anywhere in the OJS code.