Ok, after a lot of testing I finally found the problem, and I can't believe what it was...
This code causes problems:
Code:
<div class="endnote">
<p class="note"><a href="part0002.html#note-1" id="endnote-1">1</a> Come venir sotterrato nella sabbia e rimpinzato di uova di scarabeo.</p>
</div>
This doesn't:
Code:
<div class="endnote"><p class="note"><a href="part0002.html#note-1" id="endnote-1">1</a> Come venir sotterrato nella sabbia e rimpinzato di uova di scarabeo.</p></div>
HTML wise they are exactly the same, except for the spaces and newlines that I candidly put in with the calibre Beautify tool. Who wouldn't want a clean-to-read code right?
Wrong.
Kindle's renderer decided that the spaces and newlines between </p> and </div> are important, and they should be shown as margins. Even only adding spaces causes smaller margins to appear. I don't even know how it occurred to me to try and remove those spaces...
Quote:
Originally Posted by Tex2002ans
Remember, KISS (Keep It Simple Stupid).
|
Definitely words to live by
Quote:
Originally Posted by Tex2002ans
Side Note: If you still insist on having each individual footnote wrapped...
There's other ways of accomplishing this using the actual EPUB3 code, but it gets a little uglier (using <aside> + epub:type="footnote").
See the discussion in 2019: "Epub3 Foot- End-notes" (especially my post #39 + Doitsu's sample EPUB3 I linked to + Doitsu's post #62).
|
That is also the preferred method in Amazon's
Kindle Publishing Guidelines, but if it doesn't work with EPUB2 I'd rather avoid it. I'll read the discussion anyways, as it seems semantically better.
Quote:
Originally Posted by Tex2002ans
Nice. Last year, I blasted through the first 5 books within a few weeks.
(Jellby recommended them to me.)
Good stuff, good stuff.
|
I love his humour and characters

This has become one of my favourite adages:
Give a man a fire and he's warm for the day. But set fire to him and he's warm for the rest of his life.