Following an #eprdct discussion about abbreviations and acronyms and tagging conventions for EPUB 3 (https://twitter.com/tobias_fischer/status/537239302892425216) this is a first draft for future acronym/abbrev. tagging for my companies EPUBs.
- Trying to stick to the "rules for using " from http://camendesign.com/code/abbr_redux#abbr-rules
- Information about
-epub-speak-as
CSS property:
<p>A paragraph about <span class="abbr spell-out">HTML</span> and <span class="abbr spell-out">CSS</span>.</p>
span.abbr.spell-out {
speak: spell-out;
-epub-speak-as: spell-out;
}
<p>An article about <abbr class="read-word">NASAs</abbr> activity on the moon.</p>
abbr:not([title]) {
speak: normal;
}
<p>This it the <abbr class="read-full" title="table of contents">TOC</abbr> file.</p>
abbr[title] {
speak: normal;
}
<p>Call <span class="read-digits">911</span> to call for help!</p>
span.read-digits {
speak: spell-out;
-epub-speak-as: digits;
}
Feedback is very appreciated! Go ahed and show me how to tag for SMIL or PLS – I don't get it ;-)