EPUB: Difference between revisions
| (2 intermediate revisions by the same user not shown) | |||
| Line 20: | Line 20: | ||
<syntaxhighlight lang="html"> | <syntaxhighlight lang="html"> | ||
<aside hidden="hidden" epub:type="footnote" id="SOMEID"> | <aside hidden="hidden" epub:type="footnote" id="SOMEID"> | ||
<div class="footnote"><a href="#CALLSITE">*</a> Footnote text.</div> | <div class="footnote"><a href="#CALLSITE">*</a>Footnote text.</div> | ||
</aside> | </aside> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Use of <tt>epub:type="footnote"</tt> ought result in the text being hidden, but you might need <tt>hidden</tt> in your <tt>aside</tt> tag. | Use of <tt>epub:type="footnote"</tt> ought result in the text being hidden, but you might need <tt>hidden="hidden"</tt> in your <tt>aside</tt> tag. Unfortunately, this latter causes problems with the popup text in Calibre (at least version 7.4). | ||
Wrap the callsite with an <tt>a</tt> tag: | Wrap the callsite with an <tt>a</tt> tag: | ||
<syntaxhighlight lang="html"> | <syntaxhighlight lang="html"> | ||
| Line 32: | Line 32: | ||
EPUB3 eliminates all but a few HTML entitites. | EPUB3 eliminates all but a few HTML entitites. | ||
* &nbsp; ↦ &#160; | * &nbsp; ↦ &#160; | ||
==See also== | |||
* [https://kindlegen.s3.amazonaws.com/AmazonKindlePublishingGuidelines.pdf Kindle Publishing Guidelines] from Amazon | |||