I’ve compiled a 7 book multi-author set and I’m having trouble getting the ePub validated. It seems that the last 3 lines of the table of contents, when clicked, don’t take you to the location. I’ve tried adding new text documents and replacing the three that don’t link properly, but that didn’t work. Any ideas how to fix it? I’ve re-compiled numerous times to no avail.
Here’s the error message:
Detected version: EPUB 2.0.1
Results: The following problems were found in Romance on the High Seas-Nook-3-17-17.epub:
Type File Line Position Message
ERROR OPS/contents.xhtml 244 39 Referenced resource could not be found in the EPUB.
ERROR OPS/contents.xhtml 245 39 Referenced resource could not be found in the EPUB.
ERROR OPS/contents.xhtml 246 39 Referenced resource could not be found in the EPUB.
I truly appreciate your input!!!
Is it the compile-generated html TOC or have you done it manually?
I use a Mac and had the compile generate the TOC.
And you compile all seven books in one go, as one epub? Or what do you mean by ‘seven book set’?
I imported each of 7 books into the same scrivener file. Then compile them into a single ePub. The TOC contains the front matter for the set:
Cover, Title page, copyright, disclaimer, dedication,
-followed by the same for author #1: Author name, Title page, copyright, disclaimer, dedication
-followed by Chapter 1 by author 1 all the way to the end of their book.
Then Author #2 name , title page etc.
It doesn’t seem to matter which documents I click to include, the last 3-4 don’t link to the referenced page.
To me it sounds as if Scrivener is trying to include something in the ToC that isn’t there. Some document where you tell Scriv to use the Binder name as Title in the ToC but where something orevents this, and then everything get out of order.
I’d start by going through the binder, checking folder names, checking the structure, etc. It sounds as if you have a lot if documents in the binder.
Have you tried to create a manual ToC, just to see what links you get?
These errors are listed by line in the file they refer to, have you gone into the actual OPS/contents.xhtml file in question, to the line that the error indicates, and looked at what is going on there? If it’s pointing to a section that Scrivener should be exporting to a specific file, but you don’t see that file in the manifest, then that would explain the error and lead to the conclusion that something in those files is tripping up the compiler.
I searched the forum for your error message and came up with this prior post.
I have created a Scrivener documents containing 7 files. Each book has its own file which contains texts documents (each text doc is a book chapter). The ToC links properly to all books and chapters except for the last 4.
I manually created the ToC and the same errors happened: ex.: ERROR OPS/contents.xhtml 244 39 Referenced resource could not be found in the EPUB
“have you gone into the actual OPS/contents.xhtml file in question,”
Can you please tell me how to locate this file on a Mac? I even tried to create a new scrivener project and copied and pasted the text documents in and still had problems validating.
Thank you so much for helping me!