View Single Post
Old 10-05-2022, 04:20 AM   #4
Colonel Cathcart
Addict
Colonel Cathcart ought to be getting tired of karma fortunes by now.Colonel Cathcart ought to be getting tired of karma fortunes by now.Colonel Cathcart ought to be getting tired of karma fortunes by now.Colonel Cathcart ought to be getting tired of karma fortunes by now.Colonel Cathcart ought to be getting tired of karma fortunes by now.Colonel Cathcart ought to be getting tired of karma fortunes by now.Colonel Cathcart ought to be getting tired of karma fortunes by now.Colonel Cathcart ought to be getting tired of karma fortunes by now.Colonel Cathcart ought to be getting tired of karma fortunes by now.Colonel Cathcart ought to be getting tired of karma fortunes by now.Colonel Cathcart ought to be getting tired of karma fortunes by now.
 
Posts: 224
Karma: 340434
Join Date: Dec 2020
Location: Israel
Device: Kobo Libra H2O
Thank you, guys, for your inputs. Indeed, there are no epub:type="footnote" (or should I use "endnote" instead? does it matter?). That may explain why some of the footnotes (they're all collected at the end of the book in one html file, so they're endnotes, aren't they?) don't pop-up.
As for the other stuff - that's somewhat disappointing.

As promised, I attached a couple of screenshots demonstrating how bad plain-text footnotes pop-ups can turn out to be.

Now I wonder how best to fix this pop-up inconsistency. Here's the html snippet for the footnote in the screenshots, for example:

Code:
<a id="ich03fn1" class="calibre7"></a><a class="calibre7" href="part0078.html#ch03fn1"><span class="super"><sup class="calibre10">1</sup></span></a>
Where should I insert that epub:type="endnote" thingy? like so?

Code:
<a id="ich03fn1" class="calibre7"></a><a class="calibre7" href="part0078.html#ch03fn1"><span epub:type="endnote" class="super"><sup class="calibre10">1</sup></span></a>
Is there anything else I should add elsewhere? Should I add epub:type="endnotes" to the html where all the endnotes are? Not sure where, like so?

Code:
<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb">

<head>
  <title>Jonathan Strange &amp; Mr Norrell</title>
  <link rel="stylesheet" type="text/css" href="../stylesheet.css"/>
  <link rel="stylesheet" type="text/css" href="../page_styles.css"/>
</head>

<body epub:type="endnotes" id="2ACBS0-520bab1f111e4f78ab5684198175d09c" class="calibre" >

  <h2 class="h" id="calibre_pb_0"><a id="foot" class="calibre3"></a><a class="calibre3" href="part0003.html#foot">Notes</a></h2>

  <h3 class="h2">1 The library at Hurtfew</h3>

  <p class="footnote"><a id="ch01fn1" class="calibre7"></a><a class="calibre7" href="part0006.html#ich01fn1">1</a> <em class="calibre2">The History and Practice of English Magic</em>, by Jonathan Strange, vol. I, chap. 2, pub. John Murray, London, 1816.</p>
Attached Thumbnails
Click image for larger version

Name:	Terrible footnote popup.png
Views:	138
Size:	203.3 KB
ID:	196992   Click image for larger version

Name:	And how it should really look.png
Views:	114
Size:	132.8 KB
ID:	196993  

Last edited by Colonel Cathcart; 10-05-2022 at 06:07 AM.
Colonel Cathcart is offline   Reply With Quote