EPUB: Difference between revisions

No edit summary
 
(One intermediate revision 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">