Open Typesetting Stack

PKP has created a standalone service for converting Microsoft Word and PDF documents to structured National Library of Medicine JATS XML (used by PLoS and PubMed Central), and from there, creating attractive HTML, PDF, and ePub article views from the XML. This service is intended to decrease the labour involved in typesetting, and to facilitate the creation of archive-friendly and web-native article formats. We call it Open Typesetting Stack, or OTS for short. The OTS service is being integrated into OJS 3 as a plugin and is developed alongside Substance Software’s Texture WYSIWYG XML editor.

The current demonstration instance is available here. This service is in “beta” status, and should not be relied upon exclusively for production at this time. For more updates on the status of the service, please follow the PKP blog, Twitter or Facebook feeds.


The Open Typesetting Stack:

  • Provides automatic conversion of  Open Document Format (ODF), Word, and PDF documents to NLM JATS XML
  • Integrates more than a dozen open source article parsing tools and external services to provide the most accurate possible XML without additional user input
  • Offers an API for bulk usage, detailed in the readme:
  • Along with the Texture WYSIWYG editor, provides a full solution for editing and publishing XML within OJS
  • Is completely open source and can be deployed locally if desired

OJS Integration

Plugins are under active development to facilitate using the OTS service within an Open Journal Systems workflow. If you wish to be included in early-stage testing for these plugins, please contact usOpen Typesetting Stack integration will ship as its own plugin to be installed on OJS 3.x at a later date.

License and Fees

The copyright for this software is held by SFU and has been placed under the open source/libre license GPL V3, which protects users’ right to freely download, install, and modify the software. For more information on the copyright and licensing of the software, please see

The OTS service, based on this software, that we host and provide can be used for free during this initial testing phase. We are considering for a later date a per-item conversion fee for high-volume users and bulk conversions, as well as offering clients a contracted support service. The service fee structure will ensure that this software is maintained and improved over time; it will be designed to fit the needs of a wide range of journals.


For any support issues, please post on our PKP Community Forum. For paid service support options, please contact us directly


The following organizations have provided invaluable assistance or funding to Open Typesetting Stack development:

  • Stanford University MediaX
  • The Canadian Internet Registration Authority
  • The Open Library of the Humanities