OJS Texture Plugin integrates the Texture editor with OJS workflow for direct editing of JATS XML documents.
Texture is available under Plugin gallery
Tag | Definition | Support |
---|---|---|
code | A container element for technical contentsuch as programming language code, pseudo-code, schemas, or a markup fragment. | :ok: |
disp-formula | Mathematical equation, expression, or formula that is to be displayed as a block (callout) within the narrative flow. | :ok: |
disp-quote | Extract or extended quoted passage from another work, usually made typographically distinct from surrounding text. | :ok: |
fig-group | Container element for figures that are to be displayed together. | :ok: |
fig | Block of graphic or textual material that is identified as a figure, usually bearing a caption and a label such as “Figure 3.” or “Figure”. | :ok: |
graphic | Description of and pointer to an external file containing a still image. | :ok: |
list | Sequence of two or more items, which may or may not be ordered. | :ok: |
p | Textual unit or block; a textual paragraph. | :ok: |
preformat | Text in which spaces, tabs, and line feeds must be preserved. Content is typically displayed in monofont to preserve character alignment. | :ok: |
sec | Headed group of material; the basic structural unit of the body of a document. | :ok: |
supplementary-material | Container element for a description of, and possibly a pointer to,external resources that support the article, but which are not part of the content of the article. | :ok: |
table-wrap | Wrapper element for a complete table, including the tabular material (rows and columns), caption (including title), footnotes, and alternative descriptions of the table for purposes of accessibility. | :ok: |
tex-math | Used to hold encoded math, expressed in TeX or LaTeX. | :ok: |
ack | Textual material that names the parties who the author wishes to thank or recognize for their assistance in/contributions toward the article, for example, producing the work, funding the work, inspiring the work, or assisting in the research on which the work is based. | -- |
address | Container element for contact information such as a postal address for a person or organization. | -- |
alternatives | Container element used to hold a group of processing alternatives, for example, a single |
-- |
array | Tabular arrangement of text in the narrative flow of the document. Unlike a |
-- |
boxed-text | Textual material that is part of the body but is outside the flow of the narrativetext (for example, a sidebar). | -- |
chem-struct-wrap | Wrapper element for a chemical expression, reaction, equation, etc. that is set apart from the text; includes any number, label, or caption that accompanies the chemical expression. | -- |
def-list | List in which each item consists of two parts: 1) a word, phrase, term, graphic,chemical structure, or equation, that is paired with 2) one or more descriptions, discussions, explanations, or definitions of it. | -- |
disp-formula-group | Container element for equations or other mathematical expressions. | -- |
media | Description of and pointer to an external file that holds a media object (for example, an animation, a movie). | -- |
related-article | Description of a journal article related to the content but published separately. May include a link to the related article. | -- |
related-object | Description of an object (for example, book, book chapter, figure, or table) related to the article content but published separately. May include a link to the related object. | -- |
sig-block | Area of text and graphic material placed at the end of the body of a document or document component to hold the graphic signature or description of the person(s) responsible for or attesting to the content. | -- |
speech | One exchange (a single speech) in a real or imaginary conversation between two or more entities. | -- |
statement | Theorem, Lemma, Proof, Postulate, Hypothesis, Proposition, Corollary, or other formal statement, identified as such with a label and usually made typographically distinct from the surrounding text. | -- |
table-wrap-group | Container element for tables ( |
-- |
verse-group | Song, poem, or verse. | -- |
x | Generated text or punctuation. Typically used when:an archive decides not to have text generated on display and thus to pre-generate such things as commas or semicolons between keywords, oran archive receives text with |
-- |
Texture supports editing XML files in JATS XML standard.
After plugin installation, go to a Production Stage
of the submission
Upload JATS XML to the Production Ready
state. You can find sample files blank manuscript or a list of samples here.
All the uploaded images in texture are integrated as dependent files in production ready stage.
When you later publish the texture-edited JATS XML file as galley, you have to upload the images again in the dependancy grid.
Please find any issues here
Texture Plugin creates a Backend URL endpoint for the Editor client to send GET
, PUT
, DELETE
Requests.
GET /texture/json
Example : http://localhost/index.php/my_journal/texture/json?submissionId=4&fileId=29&stageId=5
Parameters:
submissionId
: integer
fileId
: integer
stageId
: integer
Return:
DAR File
: json
Example:
{"version":18,"resources":{"manifest.xml":{"encoding":"utf8","data":"XML PAYLOAD","size":22087,"createdAt":0,"updatedAt":0},"placeholder_2.jpg":{"encoding":"url","data":"http://localhost:8000/index.php/stable-3_2_0/texture/media?submissionId=4&fileId=29&stageId=5&fileName=placeholder_2.jpg","size":39385,"createdAt":1592229618,"updatedAt":1592229618},"coverimage_2.png":{"encoding":"url","data":"http://localhost:8000/index.php/stable-3_2_0/texture/media?submissionId=4&fileId=29&stageId=5&fileName=coverimage_2.png","size":48334,"createdAt":1594576206,"updatedAt":1594576206}}}
PUT /texture/json
Example : http://localhost/index.php/my_journal/texture/json?submissionId=4&fileId=29&stageId=5
Payload : DAR File
Parameters:
submissionId
: integer
fileId
: integer
stageId
: integer
Return:
String
: json
Example:
{"status":true,"content":"","elementId":"0","events":null}
`GET /texture/media`
Parameters:
submissionId
: integer
fileId
: integer
stageId
: integer
fileName
: string (should be unique per submission)
Return:
Media file
: media file
`DELETE /texture/media`
Example : http://localhost/index.php/my_journal/texture/media?submissionId=4&fileId=29&stageId=5
Parameters:
submissionId
: integer
fileId
: integer
stageId
: integer
Return:
String
: json
Example:
{"status":true,"content":{"submissionId":4,"fileId":4,"fileRevision":1,"delete_stauts":true},"elementId":"0","events":null}