View Single Post
Old 05-31-2022, 07:15 PM   #4
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by Kyriosity View Post
Can you tell me where in the code this would be? I just trust the automated processes for most things, so I don't know my way around very well.
Open the EPUB in Sigil or Calibre's Editor.

You can then look at the exact HTML inside of the book.

So let's say your first few footnotes say something like this in your Print book:

Code:
1 This is the first footnote.
2 This is the second footnote.
You can open the EPUB and search for that text, it should lead you in the correct location.

In the HTML, you may see something like this:

Spoiler:
Code:
<div class="_idFootnotes">
	<div id="footnote-006" class="_idFootnote">
		<p class="Footnote-text"><span class="CharOverride-1"><a class="_idFootnoteAnchor _idGenColorInherit" href="../Text/Untitled-12.xhtml#footnote-006-backlink">1</a></span>This is the first footnote.</p>
	</div>
	<div id="footnote-005" class="_idFootnote">
		<p class="Footnote-text"><span class="CharOverride-1"><a class="_idFootnoteAnchor _idGenColorInherit" href="../Text/Untitled-12.xhtml#footnote-005-backlink">2</a></span>This is the second footnote.</p>
	</div>


and in the CSS, you can post the whole thing.

Side Note: Another thing is you can create a sample EPUB with you problem in it:

1. Delete a lot of the text, leaving just a paragraph + a few footnotes.
2. Attach it to your next post.

We could then easily take apart the EPUB and see what the heck is going on.

Quote:
Originally Posted by Kyriosity View Post
I work in InDesign, export to epub, tweak a thing or two in Sigil, and check in Kindle Previewer. [...] the last couple of books I've worked on have started dropping my footnote (endnote) numbers (not the references in the text, but the numbers in the notes themselves). They show up fine in InDesign, but numberless in Previewer.
What most likely happened is InDesign created very ugly code to auto-number the footnotes... (which is extremely unreliable across devices).

Need to see your exact HTML + CSS of your footnotes in order to make a determination though.

Side Note: If I'm going to take a quick guess, each footnote is probably buried in <ol> with lots of ugly CSS attached to it.

Last edited by Tex2002ans; 05-31-2022 at 07:24 PM.
Tex2002ans is offline   Reply With Quote