Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 02-16-2022, 08:53 AM   #1
oldenough
Junior Member
oldenough began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Feb 2022
Device: none
HTML code fo Footnote pop-ups

There are older threads on this subject, but Amazon's recommendations seem to possibly have changed since there, so I thought I'd better start a new thread.

They have the following recommendation for footnotes in their Text Guidelines - Reflowable - Footnote Guidelines. It is their first choice solution and mentions it for pop-ups and accessability.

Code:
<p>This footnote example uses the aside element with the epub:type 
attribute and bi-directional hyperlinks.<sup><a id="source" href="#ft-1-1" 
epub:type="noteref">1</a></sup></p>
...
<aside id="ft-1-1" epub:type="footnote">

<p><a epub:type="noteref" href="#source">1.</a> This is the footnote text, 
which should be placed at the end of the chapter or book.</p>

</aside>
I've tried it and it seems to work, but it is a pain to go through and change the HTML in two places for each footnote. I also had to add "xmlns:epub="http://www.idpf.org/2007/ops" to the HTML definitions or whatever that part of the code is called, since the "aside" is an epub attribute rather than HTML, if I am understanding things correctly.

The HTML after my manual changes seems to work as expected in a variety of different type of files (epub, mobi, KFX, KFZ, etc.)

I came here to see if there was a place to request new features, and found this forum which seemed like a good place to start since there were plenty of other posts about "footnotes". It would be nice if this HTML was either used as the default formatting for Conversions by the Edit Ebook software or if there was a setting we could indicate how we wanted footnotes formatted when we converted files using the Edit Ebook software.
oldenough is offline   Reply With Quote
Reply

Tags
conversion .docx .epub, footnotes, html

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Issue with footnote pop-up (epub3) carmenchu Viewer 5 01-06-2021 04:59 AM
Paperwhite & footnote pop-ups eFTy Kindle Formats 61 04-07-2020 05:33 PM
Footnote pop-up example dcmst ePub 7 09-22-2014 10:33 PM
Pop ups/Panels/Overlays p_nut33 Kindle Formats 21 10-02-2013 06:00 PM


All times are GMT -4. The time now is 11:57 PM.


MobileRead.com is a privately owned, operated and funded community.