substance / texture

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

Source code #1293

Open fred-atherden opened 5 years ago

fred-atherden commented 5 years ago

Description

Source code associated with the whole article. Covers a wide variety of file types.

User Stories

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 'Source code X.'

<back>
     ...
     <sec sec-type="supplementary-material">
          <title>Additional files</title>
          ...
          <supplementary-material id="scode1">
               <label>Source code 1.</label>
               <caption>
                    <title>R codes used for Bayesian statistical analysis.</title>
               </caption>
               <media mime-subtype="zip" mimetype="application" xlink:href="elife-31549-code1-v1.zip"/>
          </supplementary-material>
          <supplementary-material id="scode2">
               <label>Source code 2.</label>
               <caption>
                    <title>SAS code used for estimation of gametocyte half-life for gametocytes.</title>
               </caption>
               <media mime-subtype="docx" mimetype="application" xlink:href="elife-31549-code2-v1.docx"/>
          </supplementary-material>
          ...
     </sec>
     ...
<back>

Mock ups

Proposal