substance / texture

A visual editor for research.
MIT License
1k stars 83 forks source link

Figure supplements #1281

Open JGilbert-eLife opened 5 years ago

JGilbert-eLife commented 5 years ago

Description

eLife accommodates supplementary images that authors want to include as direct supplements to main figures. To quote the author guide, figure supplements “must be linked to one of the primary figures: they can, for example, provide additional examples of analyses or data shown in a primary figure.” There are no limits on how many figure supplements can be appended to one main figure.

User stories

Author

Production staff

But what if . . . ?

Consideration

XML requirements

A figure supplement has to be captured as a child of fig-group (the same fig-group as the corresponding main fig). The fig has the attribute specific-use="child-fig", which designates it as a figure supplement.

 <fig-group>
         ...
          <fig id="fig2s1" position="float" specific-use="child-fig">
                  <label>Figure 2—figure supplement 1.</label>
                  <caption>
                  <title>The representation of the Major Subject Areas, Research Organisms and author keywords on the eLife HTML page</title>
                  </caption>
                  <graphic mimetype="image" mime-subtype="tiff" xlink:href="elife-00666-fig2-figsupp1.tif"/>
         </fig>
 <fig-group>

The content of the label is determined by the label of the main fig, and the position of the figure supplement. If the main fig has

<label>Appendix 1—figure 1.</label>

then it's first figure supplement label would be

<label>Appendix 1—figure 1—figure supplement 1.</label>

In other words, the figure supplement label is always prefixed by the label of the main figure.

Mock ups

Proposal