mirror of
https://github.com/standardebooks/web.git
synced 2025-07-15 19:06:49 -04:00
Update manual for epub 3.2
This commit is contained in:
parent
80e1ecc0d0
commit
732a5888f0
2 changed files with 11 additions and 12 deletions
|
@ -303,15 +303,15 @@ font-weight: normal;
|
|||
<link href="../css/local.css" rel="stylesheet" type="text/css"/>
|
||||
</head>
|
||||
<body epub:type="backmatter z3998:fiction">
|
||||
<section id="endnotes" epub:type="rearnotes">
|
||||
<section id="endnotes" epub:type="endnotes">
|
||||
<h2 epub:type="title">Endnotes</h2>
|
||||
<ol>
|
||||
<li id="note-1" epub:type="rearnote">
|
||||
<li id="note-1" epub:type="endnote">
|
||||
<p>The first endnote goes here.</p>
|
||||
<p>Here's another line for the first endnote. <a href="chapter-1.xhtml#noteref-1" epub:type="se:referrer">↩</a></p>
|
||||
<p>Here's another line for the first endnote. <a href="chapter-1.xhtml#noteref-1" epub:type="backlink">↩</a></p>
|
||||
</li>
|
||||
<li id="note-2" epub:type="rearnote">
|
||||
<p>The second endnote goes here. <a href="chapter-1.xhtml#noteref-2" epub:type="se:referrer">↩</a></p>
|
||||
<li id="note-2" epub:type="endnote">
|
||||
<p>The second endnote goes here. <a href="chapter-1.xhtml#noteref-2" epub:type="backlink">↩</a></p>
|
||||
</li>
|
||||
</ol>
|
||||
</section>
|
||||
|
@ -323,18 +323,18 @@ font-weight: normal;
|
|||
<li><p>Each <code class="html"><li></code> requires the following attributes:</p>
|
||||
<ul>
|
||||
<li><p><code class="html">id</code> is set to the string “note-” followed by the sequential endnote number, beginning with 1.</p></li>
|
||||
<li><p><code class="html">epub:type</code> is set to “rearnote”.</p></li>
|
||||
<li><p><code class="html">epub:type</code> is set to “endnote”.</p></li>
|
||||
|
||||
</ul>
|
||||
<li><p>The <code class="html">href</code> attribute points to the direct anchor reference to the endnote. </p></li>
|
||||
|
||||
<li><p>If an endnote contains a citation offset with a dash (for example, “—Ed.”), separate the citation from the text with a single space and enclose it in the <code class="html"><cite></code> tag:</p>
|
||||
<code class="html full"><li id="note-1" epub:type="rearnote">
|
||||
<p>Here’s an endnote. <cite>—<abbr class="eoc">Ed.</abbr></cite> <a href="chapter-1.xhtml#note-1" epub:type="se:referrer">↩</a></p>
|
||||
<code class="html full"><li id="note-1" epub:type="endnote">
|
||||
<p>Here’s an endnote. <cite>—<abbr class="eoc">Ed.</abbr></cite> <a href="chapter-1.xhtml#note-1" epub:type="backlink">↩</a></p>
|
||||
</li></code>
|
||||
</li>
|
||||
|
||||
<li><p>The final <code class="html"><p></code> element in an endnote contains a link back to the referring anchor. Don’t just point it to the file, make sure it points to the exact link that we came from. For example, <code class="path">chapter-1.xhtml#note-1</code>, <em>not</em> <code class="path">chapter-1.xhtml</code>. If the link is the last element in a longer <code class="html"><p></code> tag, it must be preceded by one space character; if it is the only child of a <code class="html"><p></code> tag (for example if the previous text was a <code class="html"><blockquote></code>) then it can be on its own line. It must have the <code class="html">epub:type</code> set to <code class="html">se:referrer</code>. The text of the link is always the “↩” character.</p></li>
|
||||
<li><p>The final <code class="html"><p></code> element in an endnote contains a link back to the referring anchor. Don’t just point it to the file, make sure it points to the exact link that we came from. For example, <code class="path">chapter-1.xhtml#note-1</code>, <em>not</em> <code class="path">chapter-1.xhtml</code>. If the link is the last element in a longer <code class="html"><p></code> tag, it must be preceded by one space character; if it is the only child of a <code class="html"><p></code> tag (for example if the previous text was a <code class="html"><blockquote></code>) then it can be on its own line. It must have the <code class="html">epub:type</code> set to <code class="html">backlink</code>. The text of the link is always the “↩” character.</p></li>
|
||||
</ul>
|
||||
</section>
|
||||
<section id="thought-and-section-breaks">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue