Book One | Fear
Book Two | Killing
Book Three | Love
In print, this is the entire table of contents, and is essential to framing the story. In EPUB2, we typically have both an HTML table of contents (which we move to the end of the book) and the required NCX. Given the importance of this toc, we broke our rule about HTML tocs, and followed the print book. The NCX contained the links to all the chapters.
So how would we handle this in e0? We do need to define the reading order in index.html:
<nav>
<ol>
<li><a href="s003-preface.html">Author’s Note</a></li>
<li><a href="s004-part-001.html">Book One | Fear</a></li>
<li><a href="s005-chapter-000.html">New York City, Six Months Later</a></li>
<li><a href="s006-chapter-001.html">1. Korengal Valley, Afghanistan, Spring 2007</a></li>
<li><a href="s007-chapter-002.html">2.</a></li>
<li><a href="s008-chapter-003.html">3.</a></li>
</ol>
</nav>But we don't want the reader to see that as a primary part of the text, so I'll make it hidden. Do I then need to define the reading order separately from the navigation? I don't think so, in this case. This works fine both to define the reading order and provide machine-readable navigation for the reading system. So what should I do? I'll just add an old-fashioned table of contents, as a regular content file, after editing my index.html.
<nav hidden="hidden">
<ol>
<li><a href="s002-toc.html">Contents</a></li>
<li><a href="s003-preface.html">Author’s Note</a></li>
<li><a href="s004-part-001.html">Book One | Fear</a></li>
<li><a href="s005-chapter-000.html">New York City, Six Months Later</a></li>
<li><a href="s006-chapter-001.html">1. Korengal Valley, Afghanistan, Spring 2007</a></li>
<li><a href="s007-chapter-002.html">2.</a></li>
<li><a href="s008-chapter-003.html">3.</a></li>
</ol>
</nav>and in s002-toc.html:
<nav>
<ol>
<li><a href="s004-part-001.html">Book One | Fear</a></li>
<li><a href="s012-part-002.html">Book Two | Killing</li>
<li><a href="s021-part-003.html">Book Three | Love</li>
</ol>
</nav>This example turned out to be simpler than I hoped. I'd love to see examples of more complex navigational structures, especially if they seem to conflict with this simple approach to defining the reading order.
