libero / editor

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

Boxes #54

Open fred-atherden opened 5 years ago

fred-atherden commented 5 years ago

Boxes are more common in Feature content than research content but have been known to occur in both kinds of article.

User Stories

Author

Production staff

But what if . . . ?

Considerations

Screen Shot 2019-06-03 at 16 00 01

XML requirements

<boxed-text>
  <p>...</p>
  <sec>...</sec>
    <p>...</p>   
  <fig>...</fig>
</boxed-text>

eLife allows the following child elements:

Example of permissions for boxed-text

<boxed-text id="box2">
    <object-id pub-id-type="doi">10.7554/eLife.27041.004</object-id>
    <label>Box 2:</label>
    <caption>
        <p>On Exactitude in Science. Jorge Luis Borges (1946)</p>
    </caption>
    <p>“.. . In that Empire, the Art of Cartography attained such Perfection that the map of a
        single Province occupied the entirety of a City, and the map of the Empire, the entirety of
        a Province. In time, those Unconscionable Maps no longer satisfied, and the Cartographers
        Guilds struck a Map of the Empire whose size was that of the Empire, and which coincided
        point for point with it. The following Generations, who were not so fond of the Study of
        Cartography as their Forebears had been, saw that that vast map was Useless, and not without
        some Pitilessness was it, that they delivered it up to the Inclemencies of Sun and Winters.
        In the Deserts of the West, still today, there are Tattered Ruins of that Map, inhabited by
        Animals and Beggars; in all the Land there is no other Relic of the Disciplines of
        Geography.”</p>
    <p>Purportedly from Suárez Miranda, Travels of Prudent Men, Book Four, Ch. XLV, Lérida, 1658.</p>
    <permissions>
        <copyright-statement>© 1998 Maria Kodama; translation © 1998 Penguin Random House LLC.</copyright-statement>
        <copyright-year>1998</copyright-year>
        <copyright-holder>Maria Kodama</copyright-holder>
        <copyright-holder>Penguin Random House LLC.</copyright-holder>
        <license>
            <license-p>&#x00022;On Exactitude in Science&#x00022; from Collected Fictions: Volume 3 by
                Jorge Luis Borges, translated by Andrew Hurley. Used by permission of Viking Books,
                an imprint of Penguin Publishing Group, a division of Penguin Random House LLC. All
                rights reserved.</license-p>
        </license>
    </permissions>
</boxed-text>
Screen Shot 2019-06-06 at 11 34 01

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

NickDuf commented 5 years ago

See inVision design proposal