libero / editor

Expedite your production workflow with our open tools and management system
MIT License
10 stars 0 forks source link

Graphics in table cells #61

Open fred-atherden opened 5 years ago

fred-atherden commented 5 years ago

Inline graphics within table cells.

User Stories

Author

  1. As an author, I want to be able to see any inline graphics in table cells, so that I can determine that the content is correct.
  2. As an author, I want to be able to add an inline graphic to a table cell so that I can ensure the content is correct and up to date.
  3. As an author, I want to be able to remove an inline graphic from a table cell, so that I can ensure erroneous content is not present.

Production staff

But what if . . . ?

Considerations

XML requirements

The element inline-graphic should be used. This should be allowed in td and th elements.

...
    <tr>
        <td valign="bottom"><italic>HAC1</italic><sup>u</sup></td>
        <td valign="bottom">1450*</td>
        <td valign="bottom"><inline-graphic mime-subtype="x-tiff" mimetype="image" xlink:href="elife-42262-inf1-v2"/></td>
        <td valign="bottom">Full-length, genomic <italic>HAC1</italic> transcript</td>
    </tr>
...

Here's an example of how we would expect this to display.

Taken from: https://github.com/elifesciences/TextureRequirements/issues/51

NickDuf commented 5 years ago

Some refinements may be needed based on usability testing