![]() |
#1 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: May 2020
Location: Waikato, NZ
Device: kobo
|
duplicate error epub3 but not epub2
I'm making ebooks from Indesign cc, fairly simple text ebooks with a couple of logo images - 3 pages in book form: a ToC page, a copyright page and the text page. When I export the book to reflowable epub using epub 2.0.1 the finished book validates fine. When I export it to epub 3 it comes up with this error:
ERROR OPF-060 .\Bill Direen\Coma\Final Indesign Files\Coma Final.epub Duplicate entry in the ZIP file: 'OEBPS/toc.xhtml'. I've run the epub in Calibre and it comes up with the KeyError popup, without being able to fix it, and I'm not sure how to. I recreated the entire book in Indesign, new book chapters, new ToC and new copyright page, new book file, the same thing happens though - epub 3 throws up the error. Any ideas? |
![]() |
![]() |
![]() |
#2 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: May 2020
Location: Waikato, NZ
Device: kobo
|
answer
so out of interest, to answer the problem, for some reason in the epub3 format, indesign is creating two toc.xhtml files, one with capital letters TOC.xhtml, and one with small letters toc.xhtml, in sigil I deleted one of them and saved it and the book validates fine. I don't know what the cause was though.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: May 2020
Location: Waikato, NZ
Device: kobo
|
well, I may as well finish it off. The cause was the Indesign TOC file was named TOC! With a longer name it worked fine.
|
![]() |
![]() |
![]() |
#4 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
Too often this happens: https://xkcd.com/979/ |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to know if a book is epub2 or epub3 | ldmobi | Library Management | 9 | 07-17-2022 03:17 PM |
Calibre 3.22.1 update epub2 -> epub3 | tatteredscroll | Calibre | 6 | 04-21-2018 08:58 AM |
epub3 to epub2 | AlanHK | Sigil | 11 | 08-09-2017 05:06 AM |
Convert from epub3 to epub2 (yes, backwards) | BKh | Sigil | 23 | 05-15-2017 04:53 PM |
JAVASCRIPT support in ePub2/ePub3 | Raja1205 | ePub | 7 | 09-03-2012 06:48 AM |