substance / texture

A visual editor for research.
MIT License
999 stars 85 forks source link

Supplementary files #1290

Open fred-atherden opened 5 years ago

fred-atherden commented 5 years ago

Description

Supplementary files for the whole article. These usually contain additional information and data that cannot be captured as source code, source data, tables or figures, videos, figure supplements etc. They can also be used to avoid overly large tables in the main article e.g. if the Key resources table is huge, it may be moved to a supplementary file.

User Stories

Author

Production staff

But what if . . . ?

Considerations

XML requirements

Captured as a supplementary-material in back/sec[@sec-type="supplementary-material"] element. The value of the label is 'Supplementary file X.'

<back>
     ...
     <sec sec-type="supplementary-material">
          <title>Additional files</title>
          ...
          <supplementary-material id="supp1">
                    <label>Supplementary file 1.</label>
                    <caption>
                              <title>Individual data of the participants included in analysis.</title>
                    </caption>
                    <media mime-subtype="docx" mimetype="application" xlink:href="elife-31549-supp1-v1.docx"/>
          </supplementary-material>
          <supplementary-material id="supp2">
                    <label>Supplementary file 2.</label>
                    <caption>
                              <title>Selected <italic>P. falciparum</italic> gene targets and primers of qRT PCR assays.</title>
                    </caption>
                    <media mime-subtype="docx" mimetype="application" xlink:href="elife-31549-supp2-v1.docx"/>
          </supplementary-material>
          ...
     </sec>
     ...
<back>

Erudit and PKP require the attribute xml:lang to be allowed on the following elements:

For example:

<sec sec-type="supplementary-material" xml:lang="en">
    <title>Title in english</title>
    <supplementary-material id="scode1" content-type="source-code">
         <label>Label in english 1</label>
         <caption>
              <title>Title in english.</title>
         </caption>
        <media mime-subtype="zip" mimetype="application" xlink:href="elife-31549-code1-v1.zip"/>
    </supplementary-material>
    ...
</sec>
<sec sec-type="supplementary-material" xml:lang="pt">
    <title xml:lang="pt">Title in portuguese</title>
    <supplementary-material id="scode1" content-type="source-code">
         <label xml:lang="en">Label in english 2</label>
         <caption>
              <title xml:lang="en">Title in english.</title>
         </caption>
        <media mime-subtype="zip" mimetype="application" xlink:href="elife-31549-code1-v1.zip"/>
    </supplementary-material>
    ...
</sec>

Mock ups

Proposal