Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 11-16-2016, 05:01 AM   #1
andy0707
Junior Member
andy0707 began at the beginning.
 
andy0707's Avatar
 
Posts: 3
Karma: 10
Join Date: Nov 2016
Device: kindle
Red face Conversion help .doc to .epub

Hi,

I uploaded .doc to smashworld, and got the warning while validating the .epub

ERROR toc.ncx 15 43 Error while parsing file 'different playOrder values for navPoint/navTarget/pageTarget that refer to same target'.
ERROR toc.ncx 15 265 Error while parsing file 'different playOrder values for navPoint/navTarget/pageTarget that refer to same target'.

And here is part of the codes.

<navPoint id="navPoint-1" playOrder="1"><navLabel><text>Shan Hai Legend Vol.1, [Part 1of2]</text></navLabel><content src="tmp_6411376b54da03b62e4b917cdf6cdb3c_UUR8zc.c h.fixed.fc.tidied.stylehacked.xfixed.html"/></navPoint><navPoint id="navPoint-2" playOrder="2"><navLabel><text>Midpoint</text></navLabel><content src="tmp_6411376b54da03b62e4b917cdf6cdb3c_UUR8zc.c h.fixed.fc.tidied.stylehacked.xfixed.html"/></navPoint></navMap>

I have no idea..how it can be fixed. Can anybody help me out?
andy0707 is offline   Reply With Quote
Old 11-16-2016, 07:56 AM   #2
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,726
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
AFAIK, you can also upload valid epubs to Smashwords. The easiest way to fix these TOC errors would be to regenerate the TOC in Sigil or Calibre Editor.
Once the TOC was regenerated the epub should pass epubcheck.
Doitsu is offline   Reply With Quote
Advert
Old 11-19-2016, 01:20 PM   #3
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
Moderator Notice
The thread does not belong in the reading forum. Moving it for better support.
DaleDe is offline   Reply With Quote
Old 11-19-2016, 02:13 PM   #4
Notjohn
mostly an observer
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
Posts: 1,519
Karma: 987654
Join Date: Dec 2012
Device: Kindle
I finish all (well, most) of my books in Word, first 2000, more recently 2007. I find that entrusting a Word doc (or *.docx) to the Smashwords Meatgrinder or any other auto-conversion is an invitation to messy html and very often an unsatisfactory book. What I would do is run that *.doc file through Word2CleanHtml dot com online, open the resulting html file in Sigil, and tweak it there as needed. Takes some learning, but easiest in the long term. You can get the latest version at https://github.com/Sigil-Ebook/Sigil/releases.

Toxaris also has a plug-in for recent versions of Word (I think it's 2003 onward). Do a search on the Sigil forum for that. Really, Sigil is the best thing that ever happened to technically challenged self-publishers.
Notjohn is offline   Reply With Quote
Old 11-19-2016, 02:34 PM   #5
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,069
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
From Smashwords:

Quote:
If Meatgrinder detects a linked TOC, it'll use that to guide creation of your NCX. If it doesn't find a linked TOC, it'll auto-detect your Chapter XX headings. If it's unable to auto-detect a Chapter heading, it'll auto-insert a two-part NCX where the first item is the book's title and the second item is "Midpoint" that will point to an approximate midpoint in the book. An NCX is necessary for the books to flow properly to Kobo, thus our three-step process.
There seems to be a long-standing problem with how this is implemented. If your document is small or has only a single chapter the two added TOC entries may point to the same place causing the validation error. Someone reported the same problem in 2011 in another thread.
jhowell is offline   Reply With Quote
Advert
Old 11-19-2016, 03:35 PM   #6
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,718
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Toxaris' Word add in can be found here ==>> e-Book Tools - a Word add-in - as well as conversion it has many other very useful and in some cases unique functions.

There is also an Import plugin for Sigil that does a very good job on 'well formed' DOCX ==>> [Plugin] DOCXImport. It supports mapping of the styles in the applied Word Template to the styles in a user defined CSS. Well worth a look.

BR

Last edited by BetterRed; 11-19-2016 at 03:37 PM.
BetterRed is offline   Reply With Quote
Old 12-29-2016, 09:42 AM   #7
Notjohn
mostly an observer
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
Posts: 1,519
Karma: 987654
Join Date: Dec 2012
Device: Kindle
Quote:
Originally Posted by Doitsu View Post
AFAIK, you can also upload valid epubs to Smashwords. The easiest way to fix these TOC errors would be to regenerate the TOC in Sigil or Calibre Editor.
Once the TOC was regenerated the epub should pass epubcheck.
I have a somewhat similar problem when uploading a validated epub to Lulu.com. For each of my (Sigil-built) files, I get this error:

ERROR: IOException: Unresolved external XML entity: 'http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd' in OEBPS/Text/Section0002.xhtml

I found a Jutoh forum that addressed just this problem, with the advice:

Quote:
The problem is that Lulu can't cope with bookmarks in the NavMap (toc.ncx file). The solution is to use a NavMap that doesn't have bookmarks, and you can achieve this by checking the configuration option Force simple NavMap. This overrides whatever NavMap you might have created using the command Book | Build Table of Contents, and generates a simple, one-entry-per-section NavMap with no bookmarks. Your table of contents page is not affected by this.
Can something similar be done in Sigil or Calibre?

Thanks! -- NJ
Notjohn is offline   Reply With Quote
Old 12-29-2016, 10:08 AM   #8
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,726
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by Notjohn View Post
I have a somewhat similar problem when uploading a validated epub to Lulu.com. For each of my (Sigil-built) files, I get this error:

Can something similar be done in Sigil or Calibre?
Does your NCX file contain a <bookmarkSet> section with any of the following tags:

<lastmark>, <bookmark> or <hilite>

If so, simply re-generating the NCX TOC with Sigil should remove them, because Sigil doesn't support <bookmarkSet>.

However, this error might also be caused by undefined named entities, e.g. &xyz;. Did you use any unusual named entities in these books?
Doitsu is offline   Reply With Quote
Old 12-30-2016, 06:04 AM   #9
Notjohn
mostly an observer
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
Posts: 1,519
Karma: 987654
Join Date: Dec 2012
Device: Kindle
No bookmarkSet.

But I do see that not every file has triggered the error, just the vast majority. The cover isn't mentioned, nor the title page, nor some of the files that contain only an image and a caption.

Ah! Could it be named entities, instead of numerical?

Perhaps the simpler thing would be simply to avoid Lulu....
Notjohn is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
.doc conversion to .epub not possible McHunter Calibre 2 04-16-2015 11:51 PM
Easy Conversion: Doc to Epub / Mobi pdxNat Conversion 4 01-19-2012 01:43 AM
Batch doc conversion webwizard Conversion 1 02-13-2011 11:59 PM
doc conversion under Linux booksonthemove Calibre 8 03-25-2010 12:50 PM
Conversion of DOC to EPUB under Linux (Ubuntu 9.10), and a couple of other questions booksonthemove Calibre 3 02-21-2010 01:26 PM


All times are GMT -4. The time now is 02:16 AM.


MobileRead.com is a privately owned, operated and funded community.