View Single Post
Old 01-14-2025, 01:00 PM   #1
repilo
Connoisseur
repilo has become one with the cosmosrepilo has become one with the cosmosrepilo has become one with the cosmosrepilo has become one with the cosmosrepilo has become one with the cosmosrepilo has become one with the cosmosrepilo has become one with the cosmosrepilo has become one with the cosmosrepilo has become one with the cosmosrepilo has become one with the cosmosrepilo has become one with the cosmos
 
Posts: 96
Karma: 21870
Join Date: Apr 2021
Location: Spain
Device: Kobo Libra 2
Kobo pop-up footnotes and h2

I have an EPUB 2 book with footnotes numbered 1 to 43 (all in exactly the same format), which I convert to kepub with Calibre and transfer to my Kobo Libra 2 via DropBox.
Footnotes 1 to 24 are displayed in popup window.
From 25 onwards, instead, it jumps to where the text of the note is located at the end of the book.

It is important to say - as you will see later - that each xhtml file has a unique h1 header, at the beginning, and several h2's intercalated throughout each file.
And the headers appear in the table of contents.

Although I don't know why this happens, I have managed to find where it happens.

The notes whose call links appear in a place before the h2 labeled as <h2 id=“sigil_toc_id_39”> are displayed (at least in my case) in popup window, not so those whose call link appears below said h2
  • If I rebuild the table of contents with Sigil, but only “Up to level 1” (i.e. excluding the h2), then ALL the notes are displayed in popup window.
  • IF I rebuild the table with “All” the headings
    THEN the problem returns, notes 25 and following no popup.
  • IF I rebuild the table and uncheck the h2 mentioned above (it changes to <h2 class=“sigil_not_in_toc”>)
    THEN note 25 becomes popup, BUT note 26 and following does not.
    And I notice that the h2 after that has changed to id="sigil_toc_id_39”
I wish someone from Kobo would see this, but I doubt they would do anything about it.
repilo is offline   Reply With Quote