|
|
#1 |
|
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Feb 2017
Device: none
|
Errors and Warnings when Converting to EPUB
Hello,
I am having difficulty converting a book into EPUB. The book was written in MS Word and saved as htm. When I convert to EPUB and run the file through the EPUB validator at http://validator.idpf.org I get errors messages such as the following: Error while parsing file 'attribute "vlink" not allowed here; expected attribute "class", "dir", "id", "lang", "style", "title" or "xml:lang"'. And: Filename contains spaces, therefore URI escaping is necessary. Consider removing spaces from filename. The file is split into 4 sections. The errors are all identified as being in the same location in each section. In other words, in section _split_000.htm the error is at Location 254 and Position 65. Then in section _split_001.htm the error is in the same Location and Position. I need this file to be free of errors before I send it off for publication. I am not in any way an expert in conversion and could use a little help. Thanks |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,659
Karma: 28549046
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Dont save as html, convert the docx directly
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Feb 2017
Device: none
|
Thanks for the advice. I converted from the docx and it is better but I'm still getting two error messages for the toc.ncx: Error while parsing file 'different playOrder values for navPoint/navTarget/pageTarget that refer to same target'.
Any idea how to fix this? |
|
|
|
|
|
#4 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 81,033
Karma: 150250725
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Use the eBook editor for remove the duplicate entry in the NCX ToC.
|
|
|
|
|
|
#5 | |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,326
Karma: 62025226
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
The buttons on the right, will offer options. Basically, you are pointing at where the TOC should goto |
|
|
|
|
| Advert | |
|
|
|
|
#6 |
|
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Feb 2017
Device: none
|
Sorry if I seem completely incompetent, but what is TOC tool? Is this part of Calibre? Or a different application?
|
|
|
|
|
|
#7 | |
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,042
Karma: 30277960
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Or use Preference->Toolbars and add the TOC Tool to toolbars. BR |
|
|
|
|
|
|
#8 |
|
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Feb 2017
Device: none
|
Thanks for your help. Everything was red with nothing green but I played a hunch and checked the location for "Start" and saw that it was pointing to the cover. When I changed it and ran it through the validator, it came back with no errors. Such a relief!!!
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Kindle eBooks will have PUBLIC Warnings for spelling/formatting errors! | Hitch | News | 201 | 09-06-2016 06:11 PM |
| EPUB validates! But what about warnings? | crankypants | ePub | 2 | 12-06-2015 11:25 AM |
| Is it wise to ignore epubcheck warnings and/or errors? | Lancelot13 | ePub | 4 | 06-07-2013 12:44 PM |
| Kindle Previewer errors and warnings | crutledge | Kindle Formats | 4 | 04-30-2013 08:27 PM |