jeremybec
New Member
Posts: 1
Joined: Mar 30, 2016 19:40:03 GMT -8
|
Post by jeremybec on Mar 30, 2016 19:46:53 GMT -8
Hello,
I'm hoping someone can help. I've uploaded my ePub to Smashwords and it's come back with this error as part of the validation process:
'id_Dedication': fragment identifier is not defined in 'index_split_000.html'
'id_Preface': fragment identifier is not defined in 'index_split_000.html'
'id_TOC': fragment identifier is not defined in 'index_split_000.html'
I'm not very techy but I assume this has to do with the navigation and TOC. When I check my file on an ipad the TOC and all navigation works as it should. I double checked the dedication and preface links since they're mentioned in the error and they both work. I don't know how to fix these errors so I can resubmit my book, because I don't know what these errors are.
I did manually change the TOC within Calibre before uploading - could this be the issue?
Any help gratefully received!
|
|
|
Post by Ted on Mar 30, 2016 20:52:46 GMT -8
Thanks for joining our forum Jeremy. Using Calibre to manually change 'might' have something to do with your issue. I'm not an ePub/Calibre expert, but there are members here who have much more experience with ePub and Calbire than I. Do you get any errors when you run your ePub from Calibre through the ePub Validator? validator.idpf.org/If you took a PDF and used Calibre to convert it to ePub there may be issues in the ePub conversion. Earlier versions of Calibre sometimes would overlooks the ToC html coding from the PDF and create its own ToC, which then confused the heck out of some ereader devices. It may be best to simply change the ToC in the original document prior to creating ePub with Calibre. Or use something like LibreOffice or Microsofe Office to create your document and save file as a MSWord .doc file, then upload the .doc and let Smashwords do the conversion for you. I always manually create my ToC, using the Bookmark and the Hyperlink functions in LibreOffice or MSWord. I Bookmark a section in the document then create the hyperlink in the ToC. I've only had a problem or two out of 40 ebooks and those problems were MSWord related and not because of the manual creation of the ToC. Hope this helps. Check back and see if another member has a suggestion or solution.
|
|
|
Post by jaydax on Mar 31, 2016 1:02:30 GMT -8
Looks to me that you have missing styles in your book's .css file. When you manually changed the files did you change the name of styles in 'index_split_000.html' but not in 'stylesheet.css'? When Calibre converts a book it tends to create styles in the format '.block_1', '.block_2', etc. Not very useful as descriptive names. If you rename them then you must also rename the definition in 'stylesheet.css'.
|
|