Integrates the Texture editor with OJS workflow for direct editing of JATS XML documents.
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.xmlActivate in Settings > Website > Plugins.
- Go to the
Production Stageof a submission - Upload JATS XML to
Production Ready(blank manuscript | samples) - Uploaded images are integrated as dependent files in production ready stage
- When publishing as galley, re-upload images in the dependency grid
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
All endpoints require parameters: submissionId (int), fileId (int), stageId (int).
| Method | Endpoint | Description | Extra Params |
|---|---|---|---|
| GET | /texture/json |
Get DAR file (JSON) | -- |
| PUT | /texture/json |
Update DAR file | Payload: DAR file |
| GET | /texture/media |
Get media file | fileName (string) |
| DELETE | /texture/media |
Delete media file | -- |