Modified:
/2012/2012-02-workshop/presentations/epub3-primer.html
=======================================
--- /2012/2012-02-workshop/presentations/epub3-primer.html Thu Feb 16
05:37:48 2012
+++ /2012/2012-02-workshop/presentations/epub3-primer.html Thu Feb 16
06:09:26 2012
@@ -62,7 +62,7 @@
<li>E.g. <code>AliceInWonderland.epub</code></li>
<li>Self-contained and easy to distribute</li>
</ul>
- <img src="images/SingleFileDownload.png" alt="Cartoon showing a user
downloading a .epub file from the Internet."/>
+ <img src="images/SingleFileDownload.png" alt="Cartoon showing a user
downloading a .epub file from the Internet." style="margin-top: 3em"/>
</section>
@@ -76,7 +76,7 @@
<li>Media overlays</li>
</ul>
<p>To look at the files inside an EPUB, just rename it with a zip
extension (e.g. <code>AliceInWonderland.zip</code>) and unzip.</p>
- <img src="images/Fileset.png" alt="Generic fileset icon"/>
+ <img src="images/Fileset.png" alt="Generic fileset icon"
style="margin-top: 3em"/>
</section>
@@ -112,6 +112,43 @@
</code></pre>
</section>
+<section class="slide">
+ <h2>Navigation</h2>
+ <pre>Extension: <code>.xhtml</code></pre>
+ <ul>
+ <li>Type of Content Document</li>
+ <li>Uses XHTML5 <code>nav</code> element as a container for lists
of navigation targets</li>
+ <li>Primary navigation structure identified by attribute
<code>epub:type = toc</code></li>
+ <li>Other pre-defined <code>epub:type</code> values:
<code>page-list</code> and <code>landmarks</code></li>
+ </ul>
+
+ <pre><code>
+<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:epub="http://www.idpf.org/2007/ops">
+ <head>
+ <title>Moby-Dick</title>
+ <meta charset="utf-8"/>
+ </head>
+ <body>
+ <section epub:type="frontmatter toc">
+ <header>
+ <h1>Contents</h1>
+ </header>
+ <nav epub:type="toc" id="toc">
+ <ol>
+ <li id="toc-titlepage">
+ <a
href="titlepage.xhtml">Moby-Dick</a>
+ </li>
+ ...
+ <li id="toc-chapter_001">
+ <a href="chapter_001.xhtml">Chapter 1.
Loomings.</a>
+ </li>
+ ...
+ </nav>
+ </body>
+</html>
+</code></pre>
+
+</section>
<section class="slide">
<h2>Content Document</h2>
@@ -119,7 +156,7 @@
<ul>
<li>Main text documents of the publication are in this format.</li>
<li>XHTML 5 plus some restrictions and exceptions</li>
- <li>Some accessibility features:
+ <li>Accessibility features include:
<ul>
<li>Semantic inflection</li>
<li>Speech Synthesis Markup Lanaguage (SSML)</li>
@@ -148,44 +185,91 @@
</code></pre>
</section>
-
<section class="slide">
- <h2>Navigation</h2>
- <pre>Extension: <code>.xhtml</code></pre>
+ <h2>Semantic Inflection</h2>
+
+ <p>Used in Content Documents and Media Overlays</p>
+ <p>Assign machine-readable semantics to document structures and enable
reading systems to provide a better user experience.</p>
+ <p>The default vocabulary is the EPUB 3 Structural Semantics
Vocabulary</p>
+
+ <h3>Examples</h3>
+ <p>Include page numbers:</p>
+ <pre><code>
+<span epub:type="pagebreak" title="234"/>
+ </code></pre>
+
+ <p>Identify structures such as glossaries:</p>
+ <pre><code>
+<dl epub:type="glossary">
+ …
+</dl>
+ </code></pre>
+
+ <p>Use in Media Overlays:</p>
+ <pre><code>
+<seq id="id1" epub:textref="chapter_001.xhtml"
<span>epub:type="bodymatter chapter"</span>>
+ </code></pre>
+
+</section>
+
+
+<section class="slide">
+ <h2>PLS</h2>
<ul>
- <li>Type of Content Document</li>
- <li>Uses XHTML5 <code>nav</code> element as a container for lists
of navigation targets</li>
- <li>Primary navigation structure identified by attribute
<code>epub:type = toc</code></li>
- <li>Other pre-defined <code>epub:type</code> values:
<code>page-list</code> and <code>landmarks</code></li>
+ <li>Application-specific lexicons to extend internal capabilities
of TTS engines.</li>
+ <li>Linked inside the content document <code>head</code> and fed
to the TTS engine.</li>
</ul>
+ <pre><code>
+<head>
+ …
+ <link rel="pronunciation"
type="application/pls+xml" hreflang="zh"
href="zh.pls"/>
+ <link rel="pronunciation"
type="application/pls+xml" hreflang="mn"
href="mn.pls"/>
+</head>
+ </code></pre>
+</section>
+
+<section class="slide">
+ <h2>SSML</h2>
+
+ <ul>
+ <li>W3C standard; part of Voice Browser WG.</li>
+ <li>EPUB 3 uses some attributes from SSML for phonetic
pronunciation:
+ <ul>
+ <li><code>ssml:alphabet</code> attribute</li>
+ <li><code>ssml:ph</code> attribute</li>
+ </ul>
+ </li>
+ </ul>
+
+ <p>For example, to correctly pronounce "La Vita e Bella"</p>
+
+ <pre><code>
+<p>Have you seen <span ssml:alphabet="ipa"
ssml:ph=<span>"ˈlɑ ˈviːɾə
ˈʔeɪ ˈbɛlə"</span>>"La
vita è bella"</span>?</p>
+ </code></pre>
+
+ <p style="margin-top: 4em">In the case of overlap, these
<code>ssml:</code> attributes take precedence over the pronunciation
lexicon.</p>
+
+</section>
+
+<section class="slide">
+ <h2>CSS Speech</h2>
+ <ul>
+ <li>W3C standard; part of Voice Browser WG.</li>
+ <li>Specify voice properties and cues</li>
+ </ul>
<pre><code>
-<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:epub="http://www.idpf.org/2007/ops">
- <head>
- <title>Moby-Dick</title>
- <meta charset="utf-8"/>
- </head>
- <body>
- <section epub:type="frontmatter toc">
- <header>
- <h1>Contents</h1>
- </header>
- <nav epub:type="toc" id="toc">
- <ol>
- <li id="toc-titlepage">
- <a
href="titlepage.xhtml">Moby-Dick</a>
- </li>
- ...
- <li id="toc-chapter_001">
- <a href="chapter_001.xhtml">Chapter 1.
Loomings.</a>
- </li>
- ...
- </nav>
- </body>
-</html>
-</code></pre>
-
-</section>
+ h1, h2, h3, h4, h5, h6
+ {
+ voice-family: paul;
+ voice-stress: moderate;
+ cue-before: url(../audio/ping.wav);
+ voice-volume: medium 6dB;
+ }
+ </code></pre>
+
+</section>
+
<section class="slide">
<h2>Media Overlays</h2>
@@ -237,7 +321,6 @@
<p>Media Overlay metadata goes in the Package Document.</p>
<pre><code>
<meta property="media:duration"
refines="#chapter_001_overlay">0:14:43</meta>
-<meta property="media:duration"
refines="#chapter_002_overlay">0:09:03</meta>
<meta property="media:duration">0:23:46</meta>
<meta property="media:narrator">Stuart Wills</meta>
</code></pre>
@@ -274,76 +357,6 @@
</code></pre>
</section>
-<section class="slide">
- <h2>Semantic Inflection</h2>
-
- <p>Used in Content Documents and Media Overlays</p>
- <p>Assign machine-readable semantics to document structures and enable
reading systems to provide a better user experience.</p>
- <p>The default vocabulary is the EPUB 3 Structural Semantics
Vocabulary</p>
-
- <h3>Examples</h3>
- <p>Include page numbers:</p>
- <pre><code>
-<span epub:type="pagebreak" title="234"/>
- </code></pre>
-
- <p>Identify structures such as glossaries:</p>
- <pre><code>
-<dl epub:type="glossary">
- …
-</dl>
- </code></pre>
-
- <p>Use in Media Overlays:</p>
- <pre><code>
-<seq id="id1" epub:textref="chapter_001.xhtml"
<span>epub:type="bodymatter chapter"</span>>
- </code></pre>
-
-</section>
-
-
-<section class="slide">
- <h2>PLS</h2>
- <p>Used in Content Documents.</p>
- <p>Linked inside the content document <code>head</code> and fed to the
TTS engine.</p>
- <pre><code>
-<head>
- …
- <link rel="pronunciation"
type="application/pls+xml" hreflang="zh"
href="zh.pls"/>
- <link rel="pronunciation"
type="application/pls+xml" hreflang="mn"
href="mn.pls"/>
-</head>
- </code></pre>
-</section>
-
-<section class="slide">
- <h2>SSML</h2>
-
- <ul>
- <li>W3C standard; part of Voice Browser WG.</li>
- <li>EPUB 3 uses some attributes from SSML for phonetic
pronunciation:
- <ul>
- <li><code>ssml:alphabet</code> attribute</li>
- <li><code>ssml:ph</code> attribute</li>
- </ul>
- </li>
- </ul>
-
-<pre><code>
-<p>The <span ssml:ph="g@l&quot;Qp@g@Uz"
ssml:alphabet="x-SAMPA">Galapagos</span> marine
iguana.</p>
-</code></pre>
-
- <p style="margin-top: 4em">In the case of overlap, these attributes
take precedence over the pronunciation lexicon.</p>
-
-</section>
-
-<section class="slide">
- <h2>CSS Speech</h2>
- <ul>
- <li>W3C standard</li>
- <li>Part of Voice Browser WG.</li>
- </li>
- TODO
-</section>
<section class="slide">
<h2>Related Tools</h2>