View Single Post
Old 04-08-2024, 03:46 AM   #1
SylviaPack777
Junior Member
SylviaPack777 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Apr 2024
Device: none
Indesign epub export to kindle - footnotes and hyperlink code conversion to Kindle Fo

Hi, I'm having problems exporting a book to kindle from an epub. I had to setup the footnotes as hyperlinks because indesign doesn't let me reference 3 footnotes in the body text to the same end footnote. But Kindle wants them in a different HTML format. Without having to redo all 300+ of them does anyone have any clever workarounds? I would be so very VERY grateful if so!

<!––FOOTNOTES AS HYPERLINKS IN EXISTING FILE:-->
<a href="Sample_file_to_test_for_epub-1.xhtml#_idTextAnchor040"><span class="Hyperlink---Footnotes _idGenCharOverride-4" lang="">1</span></a>
...
<li class="Footnotes-Numbered" lang="en-GB"><span class="Italic" lang=""><a id="_idTextAnchor040"></a>Title of footnote</span>Footnote body text here.</span></li>

<!––WHAT KINDLE ASKS FOR INSTEAD:-->
<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>

<!––OR-->
<p>This footnote example uses bi-directional hyperlinks only. <sup><a href=>footnotes.html#fn1" id="r1">[2]</a></sup></p>
...
<p id="fn1"><a href="chapter01.html#r1">2.</a> This is the footnote text, which should be placed at the end of the chapter or book.</p>

<!––OR-->
<p>This example describes an <a id="fn1"/>event that happened.</p>
...
<p><a href="chapter01.html#fn1">event that happened</a> This is the endnote text, which provides a reference for the details of the event.</p>
SylviaPack777 is offline   Reply With Quote