mirror of
https://github.com/standardebooks/web.git
synced 2025-07-16 03:16:36 -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
|
@ -97,11 +97,10 @@ require_once('Core.php');
|
||||||
<p>Arrange the <code class="html"><dc:subject></code> elements sequentially in a block.</p>
|
<p>Arrange the <code class="html"><dc:subject></code> elements sequentially in a block.</p>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<p>After the block of <code class="html"><dc:subject></code> elements, include a block of <code class="html"><meta property="meta-auth"></code> elements with values representing the URL at which you found the categorizations for each individual subject.</p>
|
<p>After the block of <code class="html"><dc:subject></code> elements, include a block of <code class="html"><meta property="authority"></code> and <code class="html"><meta property="term"></code> elements with values representing the source and particular ID of the subject. <code class="html">authority</code> is almost always <code class="html">LCSH</code> (Library of Congress Subject Heading).</p>
|
||||||
<p>For example, if we found the Library of Congress categories for an ebook at the Project Gutenberg ebook’s “bibrec” tab, then you would use the URL of the Project Gutenberg ebook.</p>
|
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<p>The <code class="html"><meta property="meta-auth"></code> element must refine each individual <code class="html"><dc:subject></code> element, even if the URL is the same for all of them.</p>
|
<p>The <code class="html"><meta property="authority"></code> element must refine each individual <code class="html"><dc:subject></code> element.</p>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>This example shows how to mark up the subjects for <i><a href="/ebooks/david-lindsay/a-voyage-to-arcturus">A Voyage to Arcturus</a></i>:</p><code class="html full"><dc:subject id="subject-1">Science fiction</dc:subject> <dc:subject id="subject-2">Psychological fiction</dc:subject> <dc:subject id="subject-3">Quests (Expeditions) -- Fiction</dc:subject> <dc:subject id="subject-4">Life on other planets -- Fiction</dc:subject> <meta property="meta-auth" refines="#subject-1">https://www.gutenberg.org/ebooks/1329</meta> <meta property="meta-auth" refines="#subject-2">https://www.gutenberg.org/ebooks/1329</meta> <meta property="meta-auth" refines="#subject-3">https://www.gutenberg.org/ebooks/1329</meta> <meta property="meta-auth" refines="#subject-4">https://www.gutenberg.org/ebooks/1329</meta></code>
|
<p>This example shows how to mark up the subjects for <i><a href="/ebooks/david-lindsay/a-voyage-to-arcturus">A Voyage to Arcturus</a></i>:</p><code class="html full"><dc:subject id="subject-1">Science fiction</dc:subject> <dc:subject id="subject-2">Psychological fiction</dc:subject> <dc:subject id="subject-3">Quests (Expeditions) -- Fiction</dc:subject> <dc:subject id="subject-4">Life on other planets -- Fiction</dc:subject> <meta property="meta-auth" refines="#subject-1">https://www.gutenberg.org/ebooks/1329</meta> <meta property="meta-auth" refines="#subject-2">https://www.gutenberg.org/ebooks/1329</meta> <meta property="meta-auth" refines="#subject-3">https://www.gutenberg.org/ebooks/1329</meta> <meta property="meta-auth" refines="#subject-4">https://www.gutenberg.org/ebooks/1329</meta></code>
|
||||||
|
|
|
@ -303,15 +303,15 @@ font-weight: normal;
|
||||||
<link href="../css/local.css" rel="stylesheet" type="text/css"/>
|
<link href="../css/local.css" rel="stylesheet" type="text/css"/>
|
||||||
</head>
|
</head>
|
||||||
<body epub:type="backmatter z3998:fiction">
|
<body epub:type="backmatter z3998:fiction">
|
||||||
<section id="endnotes" epub:type="rearnotes">
|
<section id="endnotes" epub:type="endnotes">
|
||||||
<h2 epub:type="title">Endnotes</h2>
|
<h2 epub:type="title">Endnotes</h2>
|
||||||
<ol>
|
<ol>
|
||||||
<li id="note-1" epub:type="rearnote">
|
<li id="note-1" epub:type="endnote">
|
||||||
<p>The first endnote goes here.</p>
|
<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>
|
||||||
<li id="note-2" epub:type="rearnote">
|
<li id="note-2" epub:type="endnote">
|
||||||
<p>The second endnote goes here. <a href="chapter-1.xhtml#noteref-2" epub:type="se:referrer">↩</a></p>
|
<p>The second endnote goes here. <a href="chapter-1.xhtml#noteref-2" epub:type="backlink">↩</a></p>
|
||||||
</li>
|
</li>
|
||||||
</ol>
|
</ol>
|
||||||
</section>
|
</section>
|
||||||
|
@ -323,18 +323,18 @@ font-weight: normal;
|
||||||
<li><p>Each <code class="html"><li></code> requires the following attributes:</p>
|
<li><p>Each <code class="html"><li></code> requires the following attributes:</p>
|
||||||
<ul>
|
<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">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>
|
</ul>
|
||||||
<li><p>The <code class="html">href</code> attribute points to the direct anchor reference to the endnote. </p></li>
|
<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>
|
<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">
|
<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="se:referrer">↩</a></p>
|
<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></code>
|
||||||
</li>
|
</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>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
<section id="thought-and-section-breaks">
|
<section id="thought-and-section-breaks">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue