Copy link to clipboard
Copied
Hi there. I just tried to upload an epub containing several endnotes to Google Playbook and received the following errors:
OEBPS/WFeBook_v3-34.xhtml:11, 57: Error while parsing file: Duplicate 'endnote-000'
OEBPS/WFeBook_v3-34.xhtml:12, 57: Error while parsing file: Duplicate 'endnote-000'
OEBPS/WFeBook_v3-34.xhtml:13, 57: Error while parsing file: Duplicate 'endnote-000'
OEBPS/WFeBook_v3-34.xhtml:14, 57: Error while parsing file: Duplicate 'endnote-000'
OEBPS/WFeBook_v3-34.xhtml:15, 57: Error while parsing file: Duplicate 'endnote-000'
OEBPS/WFeBook_v3-34.xhtml:16, 57: Error while parsing file: Duplicate 'endnote-000'
OEBPS/WFeBook_v3-34.xhtml:17, 57: Error while parsing file: Duplicate 'endnote-000'
OEBPS/WFeBook_v3-34.xhtml:18, 57: Error while parsing file: Duplicate 'endnote-000'
OEBPS/WFeBook_v3-34.xhtml:19, 57: Error while parsing file: Duplicate 'endnote-000'
OEBPS/WFeBook_v3-34.xhtml:20, 57: Error while parsing file: Duplicate 'endnote-000'
OEBPS/WFeBook_v3-34.xhtml:21, 57: Error while parsing file: Duplicate 'endnote-000'
OEBPS/WFeBook_v3-34.xhtml:22, 57: Error while parsing file: Duplicate 'endnote-000'
OEBPS/WFeBook_v3-34.xhtml:23, 57: Error while parsing file: Duplicate 'endnote-000'
OEBPS/WFeBook_v3-34.xhtml:24, 57: Error while parsing file: Duplicate 'endnote-000'
OEBPS/WFeBook_v3-34.xhtml:25, 57: Error while parsing file: Duplicate 'endnote-000'
Is this due to a certain setting in InDesign? Any suggestions as to how I can fix this?
I don't know of a video or tutorial, but it's not complicated to insert end notes in ID. Put the cursor where you want the note (and remember to delete any remnant of the old one or anchor). Click Type | Insert Endnote. You will be taken to the appropriate entry in the new end note list. Enter (or paste) the correct content there. Go on to the next endnote location.
Setting up end notes the way you want them is a separate menu/operation (also under Type) and you can do either part of the proce
...Copy link to clipboard
Copied
Sigh. Endnotes. It's always endnotes.
InDesign has several issues with exporting endnotes to EPUB, ranging from outright bugs to quirks in how the linking is handled.
First question, though: was this an import from a Word document, or were the notes created wholly within InDesign?
And how many notes are involved? Is this fairly short list all of them?
—
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Paper of course does not care about things such as links; it's just ink on paper with the reader doing the linking. 🙂
There are some inherent issues with ID end notes, but as I suspected from the specific error (and kudos for uploading the info), it's a Word bug. For some reason, Word to ID to EPUB generates a double link wrap on each end note. It's usually functional, but the validators don't like it and thus the services that do hard validation on upload won't accept it.
The shortest route to fix it is to redo the end notes in ID, something like this:
That will get rid of the double linking that's causing the problem. You can just upload again to make sure the problem is gone, or run the EPUB through EPUBcheck (it's a bit tricky and techy to use, but it's the core of most validation tools and does the best job) first.
When there are lots of notes, there are some other ways to fix the issue, but for ten or a dozen, this is the quickest fix.
—
Copy link to clipboard
Copied
Thank you for your help. I'm a bit of a novice here. I was able to follow steps 1 & 2, but I'm a bit lost in step 3. Is there a video clip you can point me to that will illustrate how to use the IDs feature to reinsert the endnotes? Of course, the actual end note numbers don't exist in the pasted endnotes. But I've never used the IDs feature before, and I don't want to make matters worse here.
Copy link to clipboard
Copied
I don't know of a video or tutorial, but it's not complicated to insert end notes in ID. Put the cursor where you want the note (and remember to delete any remnant of the old one or anchor). Click Type | Insert Endnote. You will be taken to the appropriate entry in the new end note list. Enter (or paste) the correct content there. Go on to the next endnote location.
Setting up end notes the way you want them is a separate menu/operation (also under Type) and you can do either part of the process in either order. That is, you can enter all your end notes, then fuss around with the format and note details, or you can set up those formats etc. first.
All of your end notes will end up in a single text frame that is separate from your text. It should go at the very end of the document, as that's where the EPUB export will place it anyway.
Happy to answer further questions in the other kind of tutorial. 🙂
—
Copy link to clipboard
Copied
That's EXACTLY what I ended up doing! Thank you for such great advice. It was a tedious task considering I had 118 endnotes, but patience prevailed. I will not close this thread, however, until I can actually try uploading to Google Playbooks again because another issue arose, which I believe is a completely separate issue. I'll post it on a new thread, then when I get that issue resolved, I'll see if the manual reentry worked.
Copy link to clipboard
Copied
Oh... with that many end notes, there's another method that's a bit more streamlined, but it only repairs one EPUB, not the source file. Best to fix the book so that successive exports etc. are all good.
Glad it was a working fix, though!
—
Copy link to clipboard
Copied
Ok, so I'm back after following the instructions posted on Sept 9th twice. I redid the process because, in my first round, I didn't pay attention to pasting the endnotes back into the project without formatting. So I made a conscious effort to paste the text frame and all footnotes without formatting. Nonetheless, all the double links issues still remained. In addition, while I could view the epub in Kindle Previewer, I also received this export warning:
I don't know if these warnings could be adding to my issue. James Gifford mentioned that there's another method that's more streamlined, which I'm desperately ready to try now since the source file is in my possession, and I'm waaaaaaay past my deadline. Any help would be greatly appreciated.
Copy link to clipboard
Copied
Ugh. Endnotes.
First, a simple question: did you redo the end notes completely within InDesign, or back in Word and re-import? In my experience, the double-link problem originates in Word. I don't think I've seen it in documents where all the footnote entry and linking was done within ID. But end notes are fragile enough that I guess it can happen.
The more streamlined fix is also much more limited: it involves editing the actual EPUB export code to reduce the links to a single link at each end, without the layered double links. Tedious but things like GREP and macros (in a tool like Notepad++) can make it quicker. (And, although I don't think much of them in general, an EPUB management/editing tool like Calibre or Sigil might be the most efficient fix here; I think they have fairly specific tools for footnote and endnote management.)
Even at that, I often get errors such as you see above in 'perfect' books... and they are erratic. I will export, get the errors, then restart ID, freshly load the doc, and as a very first step do the export... bingo. No errors.
Not sure exactly which direction to send you on this. It's possible that the corruption is only going to be bypassed by (on copy documents) completely deleting the notes in Word, doing an RTF save and reopen as DOCX, then placing that Word version in ID and inserting the end notes using ID's feature. (Yeah, I know...)
But first, try this: do the save-as-RTF, load as DOCX, save on the Word file, then try placing that in a new ID doc and without doing any other work, export to see if the end notes are clean.
—
Copy link to clipboard
Copied
I followed all your instructions above to the letter in indesign. And salt, the errors remain. I'll see if I can follow your last instructions for fixing the issue in the back end and see if it works.
Many thanks.
Copy link to clipboard
Copied
I really don't want to go back to word for anything as it creates to much extra work on this 158 page document as it is. So any ID fix is preferable at this point.
Copy link to clipboard
Copied
I wish I knew/had discovered a single fix for these problems, which are far too common. Part of it is sloppiness in Word's export method, which usually allows the notes to work but will generate validation errors. Part of it seems to be on ID's end, though.
It's just one of those "keep trying until it works" faults.
—
Copy link to clipboard
Copied
Hi there! It's been such a long time since I revisited this headache that is endnotes! I called myself coming up with some potential workarounds to no avail, then revisited this thread and realize that I didn't try saving the word doc as a RTF, then loading as a DOCX. I didn't see this until I completely removed all of the endnotes from ID, then copied all the text into a fresh Word doc which failed as soon as I attempted to add an endnote in ID. So, I did the copy, then paste without formatting back into Word, saved as RTF, then opened the RTF, placed it, added the endnote manually, and still got the error. What was weird is that at one point earlier on in my experiment, when I added the endnote, I only entered the words "test end note" and Google Play didn't create any errors But as soon as I attempted to type in the actual reference, the errors began resurfacing again. So I decided to go back into ID, and add an endnote with "test note" again at the exact spot, then I added another one 2 characters before that one with the correct reference info. This time I got twice the errors sadly.
The only thing I think I haven't tried is your recommendation to edit the actual EPUB export code. Unfortunately I have no idea how to do that. I can download Notepad++ but again, I wouldn't have a clue how to perform this task. Do you happen to know of any articles that provide step-by-step instruction?
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more