Skip to main content
Participant
July 9, 2024
Question

Epub footnotes links formatting

  • July 9, 2024
  • 1 reply
  • 1789 views

It is possible this has been answered elsewhere, but I'm not even sure how to search for it. When I exported my epub, I was happy to see that my footnotes at the end of every chapter already included a link to return to the main text where the footnote was---it has duplicate numbering, but I'm not as concerned about that as I am about an issue with the formatting of these links back to the text. I don't know why, but some of them are showing up as bigger text with a paragraph return after them. I honestly can't see any difference in the way those footnotes were formatted. Do you think this is a styles issue? A footnote settings issue? Any thoughts?

 

This formatting issue shows up in every one of the readers I'm using, by the way.

1 reply

James Gifford—NitroPress
Legend
July 9, 2024

Export of notes to EPUB is a fragile and fussy step. Without knowing the nuts and bolts of what you've done to create this numbering system, I can't address any simple specifics. As footnotes (should) inherently be bidirectionally linked in EPUB, try removing all your extra numbering and formatting and see if the basic model works for you (and exports properly).

 

I largely dislike how footnotes work in EPUB/Kindle readers and place them inline, but that may not work for your project.

Participant
July 10, 2024

Yeah, I wasn't prepared for how fiddly it might be. I actually haven't created any extra numbering, these are just the basic model, basic functionality already. But maybe it is because I set it to restart for each chapter (section)? It is strange that the linked footnote numbers are not restarting in each chapter, but going continuously.

b52bubba
Participant
July 21, 2024

I have the exact same problem: Reflowable export results in some (not all) endnotes having large endnote numbers followed by a line break then the period and the endnote text. I'm using ID 19.5. The problem is visible in Apple Books and Calibre. I have an indb with 13 indd chapters and many of the chapters (not all) have some (not all) endnotes formatted problematically as I describe above.

 

Things I've tried that haven't worked (and to save you the time...NOTHING has worked so far):

  • Exported .indd to .idml as new name, opened in ID and saved as .indd with new name
  • Yes, yes, yes--my endnotes all have the SAME para style with no character styles
  • Deleting the troublesome endnotes and redoing them

 

I've identified the technical problem in Calibre by looking at the html/css, and I know I CAN fix each  endnote in a 700-page book by manually removing the wrong code in smippet 2 below (causes the problem) and making look like snippet 1 (formatted endnotes correctly) but I only have so many years left.

Snippet 1 (this code correctly formats my endnotes)

                  <li id="footnote-016" class="_idFootnote" value="3"><p class="p"><a class="_idFootnoteAnchor _idGenColorInherit" role="doc-backlink" href="Chapter7ChapterName.xhtml#footnote-016-backlink">3</a>. See Author Name, <span class="CharOverride-2">Book Name</span> (City, ST: Acme Publishing, 2016), chapters sixteen and seventeer.</p></li>

 

Snippet 2 (the problem is due to the red text)

                  <li id="footnote-015" class="_idFootnote" value="4"><div id="page5-1" role="doc-pagebreak" aria-label="5" epub:type="pagebreak"><a class="_idFootnoteAnchor _idGenColorInherit" role="doc-backlink" href="Chapter7ChapterName.xhtml#footnote-015-backlink">4</a></div><p class="p">. For example, Program1 with Founder1 and Program2 with Founder2.</p></li>

 

Any help appreciated for solving this in InDesign. What's SUPER frustrating is I've exported many EPUBs from ID before and never encountered this.

 


I solved my own problem--sorta??  In my InDesign EPUB export dialog box in the Text section, I UNchecked the "Remove Forced Line Breaks" checkbox and my endnotes are all fine now. 6 hours of my life I can't get back due to this non-sensical "feature." that somehow INSERTS a line break between some endnotes and triples the font size. Sigh.