09-23-2024, 02:41 AM | #1 |
Junior Member
Posts: 5
Karma: 10
Join Date: May 2024
Location: Madrid, Spain
Device: Kindle/Books
|
InDesign 2024 and Sigil
Hello everyone. I use InDesign to export ePub files that are edited with tools such Oxygen, BBEdit or Sigil. From version 19, InDesign footnotes are exported as a <section> with a numbered list instead of a <div>, doubling the existing footnote references. This is annoying and requires heavy find/replace to return to the previous format. I have seen a couple of Sigil plugins to manage footnotes but don't know if any of them could do this. Any help is welcome.
Thanks! |
09-23-2024, 05:20 AM | #2 |
Sigil Developer
Posts: 8,116
Karma: 5450818
Join Date: Nov 2009
Device: many
|
Would you please provide small snippets of code showing the links from the text into the footnotes and the footnote format and return link.
Why would a section tag vs a div tag matter? |
Advert | |
|
09-23-2024, 05:33 AM | #3 | |
Junior Member
Posts: 5
Karma: 10
Join Date: May 2024
Location: Madrid, Spain
Device: Kindle/Books
|
Quote:
<span class="noteref"><span><a id="footnote-01-backlink" class="_idFootnoteLink" role="doc-noteref" epub:type="noteref" href="TITLE.xhtml#footnote-01">1</a></span></span> And it used to be: <span class="noteref"><span><a id="footnote-01-backlink" class="_idFootnoteLink" role="doc-noteref" epub:type="noteref" href="TITLE.xhtml#footnote-01">1</a></span></span> The footnotes block (after each chapter) is now exported as a numbered list: <section class="_idFootnotes"> <ol class="_idFootAndEndNoteOLAttrs"> <li id="footnote-01" class="_idFootnote"><p class="note"><a class="_idFootnoteAnchor" role="doc-backlink" href="TITLE.xhtml#footnote-01-backlink">1</a> Text of the note</p></li> </ol> </section> Thanks. |
|
09-23-2024, 06:45 AM | #4 |
Sigil Developer
Posts: 8,116
Karma: 5450818
Join Date: Nov 2009
Device: many
|
Technically, the footnote itself is missing the epub:type="footnote" which can break epub3 pop-up actions. And if there is no aside tag used, the footnotes will be seen in plain text when you scroll down (just like a print edition)
Are these the things you want to change? Last edited by KevinH; 09-23-2024 at 12:38 PM. |
09-23-2024, 01:46 PM | #5 | |
Resident Curmudgeon
Posts: 76,139
Karma: 134368292
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Code:
<section> <div class="_idFootnotes"> Last edited by JSWolf; 09-23-2024 at 01:48 PM. |
|
Advert | |
|
09-24-2024, 05:31 AM | #6 | ||
Junior Member
Posts: 5
Karma: 10
Join Date: May 2024
Location: Madrid, Spain
Device: Kindle/Books
|
Quote:
Quote:
|
||
09-24-2024, 09:42 AM | #7 |
Sigil Developer
Posts: 8,116
Karma: 5450818
Join Date: Nov 2009
Device: many
|
"section" was not a tag under the epub2 spec. So the way to make an epub3 compatible with an epub2 only e-reader, JSWolf is correct. move the class to an enclosing div supported by both. You can keep the section tag for epub3 and epub2 will then safely ignore it.
So InDesign created epub3 only code for some reason. Last edited by KevinH; 09-24-2024 at 09:44 AM. |
09-24-2024, 10:58 AM | #8 | |
Junior Member
Posts: 5
Karma: 10
Join Date: May 2024
Location: Madrid, Spain
Device: Kindle/Books
|
Quote:
|
|
09-24-2024, 01:29 PM | #9 | |
Resident Curmudgeon
Posts: 76,139
Karma: 134368292
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Here is a working link for ADE 2.0.1. https://archive.org/download/ade-2.0..._Installer.exe |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
InDesign via Sigil to Epub.... | cletat | Sigil | 3 | 04-08-2013 03:14 AM |
Comparison Sigil/ Indesign | GraciousMe | Sigil | 13 | 11-15-2012 10:17 PM |
InDesign CS6 and Sigil issue | tuxedo73 | ePub | 2 | 09-06-2012 04:19 PM |
InDesign to Sigil | ralphiedee | Sigil | 5 | 06-09-2012 03:54 AM |
Sigil vs InDesign | stevej46 | Workshop | 24 | 11-02-2011 03:36 PM |