View Single Post
Old 06-07-2018, 02:50 PM   #6
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,097
Karma: 92190113
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by Doitsu View Post
I just converted the book with KindleGen and got the following error message:

Error(prcgen):E24011: TOC section scope is not included in the parent chapter:Collana IL ROSONE
I have seen that error before. It happens when there are nested NCX TOC levels and the order of entries in the TOC does not match the order of the content in the book. The most likely cause is a incorrectly manually edited TOC.

In this case the OPF spine has:
...
<itemref idref="content0003_0007.xhtml"/>
<itemref idref="toc.xhtml"/>
<itemref idref="content0003_0008.xhtml"/>
...

but the NCX TOC has:
...
<content src="Text/content0003_0007.xhtml#heading_id_17"/>
<content src="Text/content0003_0008.xhtml#heading_id_18"/>
<content src="Text/toc.xhtml#heading_id_19"/>

Notice the swapping in the order that "toc.xhtml" appears with respect to the others.

Calibre's editor and AZW3 converter apparently do not check for this sort of problem, even though it can cause problems for some Kindle devices.
jhowell is offline   Reply With Quote