diff --git a/www/contribute/wanted-ebooks.php b/www/contribute/wanted-ebooks.php index db5c7a80..c5e01396 100644 --- a/www/contribute/wanted-ebooks.php +++ b/www/contribute/wanted-ebooks.php @@ -121,9 +121,9 @@ require_once('Core.php');
  • The Scarlet Letter by Nathaniel Hawthorne

  • -
  • +
  • The Rainbow by D. H. Lawrence

  • diff --git a/www/manual/1.0.0/6-high-level-structural-patterns.php b/www/manual/1.0.0/6-high-level-structural-patterns.php index 9bc76681..2ee0e21b 100644 --- a/www/manual/1.0.0/6-high-level-structural-patterns.php +++ b/www/manual/1.0.0/6-high-level-structural-patterns.php @@ -275,7 +275,7 @@ require_once('Core.php');

    Poetry, verse, and songs

    Unfortunately there’s no great way to semantically format poetry in HTML. As such, unrelated elements are conscripted for use in poetry.

      -
    1. A stanza is represented by a <p> element. +

    2. A stanza is represented by a <p> element styled with this CSS:

      [epub|type~="z3998:poem"] p{ text-align: left; text-indent: 0; @@ -289,14 +289,14 @@ require_once('Core.php'); text-indent: 0; }
    3. -
    4. Each stanza contains <span> elements, each one representing a line in the stanza. +

    5. Each stanza contains <span> elements, each one representing a line in the stanza, styled with this CSS:

      [epub|type~="z3998:poem"] p > span{ display: block; text-indent: -1em; padding-left: 1em; }
    6. -
    7. Each <span> line is followed by a <br/> element, except for the last line in a stanza. +

    8. Each <span> line is followed by a <br/> element, except for the last line in a stanza, styled with this CSS:

      [epub|type~="z3998:poem"] p > span + br{ display: none; }
      @@ -321,7 +321,7 @@ require_once('Core.php'); </blockquote>
    9. The parent element of poetry, verse, or song, has the semantic inflection of z3998:poem, z3998:verse, z3998:song, or z3998:hymn.

    10. -
    11. If a poem is quoted and has one or more lines removed, the removed lines are represented with a vertical ellipses ( or U+22EE) in a <span class="elision"> element: +

    12. If a poem is quoted and has one or more lines removed, the removed lines are represented with a vertical ellipses ( or U+22EE) in a <span class="elision"> element styled with this CSS:

      span.elision{ margin: .5em; margin-left: 3em; diff --git a/www/manual/1.0.0/8-typography.php b/www/manual/1.0.0/8-typography.php index 703eea46..f14d6540 100644 --- a/www/manual/1.0.0/8-typography.php +++ b/www/manual/1.0.0/8-typography.php @@ -667,6 +667,9 @@ require_once('Core.php');
    13. × (U+00d7) indicates an unstressed sylllable and / (U+002f) indicates a stressed syllable. They are separated from each other with no-break spaces ( or U+00A0).

      <p>Several of his types, however, constantly occur; <abbr>e.g.</abbr> A and a variant (/ × | / ×) (/ × × | / ×); B and a variant (× / | × /) (× × / | × /); a variant of D (/ × | / × ×); E (/ × × | /). </p>
    14. +
    15. Lines of poetry listed on a single line (like in a quotation) are separated by a space, then a forward slash, then a space. Capitalization is preserved for each line. +

      <p>The famous lines “Wake! For the Sun, who scatter’d into flight / The Stars before him from the Field of Night” are from <i epub:type="se:name.publication.book">The Rubáiyát of Omar Khayyám</i>.</p>
      +