OJS Texture Plugin

April 16, 2026 ยท View on GitHub

Integrates the Texture editor with OJS workflow for direct editing of JATS XML documents.

Installation

cd $OJS
git clone -b stable-3_5_0 https://github.com/pkp/texture.git plugins/generic/texture
cd plugins/generic/texture
npm install
npm run build
cd $OJS
php lib/pkp/tools/installPluginVersion.php plugins/generic/texture/version.xml

Activate in Settings > Website > Plugins.

Usage

  1. Go to the Production Stage of a submission
  2. Upload JATS XML to Production Ready (blank manuscript | samples)
  3. Uploaded images are integrated as dependent files in production ready stage
  4. When publishing as galley, re-upload images in the dependency grid

Supported JATS Tags

Supported: code, disp-formula, disp-quote, fig, fig-group, graphic, list, p, preformat, sec, supplementary-material, table-wrap, tex-math

Not yet supported: ack, address, alternatives, array, boxed-text, chem-struct-wrap, def-list, disp-formula-group, media, related-article, related-object, sig-block, speech, statement, table-wrap-group, verse-group, x

API Endpoints

All endpoints require parameters: submissionId (int), fileId (int), stageId (int).

MethodEndpointDescriptionExtra Params
GET/texture/jsonGet DAR file (JSON)--
PUT/texture/jsonUpdate DAR filePayload: DAR file
GET/texture/mediaGet media filefileName (string)
DELETE/texture/mediaDelete media file--

Resources