Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 05-26-2022, 01:40 PM   #1
John IV
Member
John IV began at the beginning.
 
Posts: 22
Karma: 10
Join Date: May 2022
Device: Kindle Scribe
Need help fixing recurring TOC errors for books into Kindle Preview

I've been working on my MOBIs converting them to EPUB in light of Amazon's decisions to allow them via email for now.

The most common issue I'm hitting is unresolved hyperlinks in TOCs and I don't know how to fix them.

I bring the converted EPUB into the Kinde Preview tool to confirm it's good to go to Amazon and this is the error that it produces:

E24010: Hyperlink not resolved in toc (One possible reason can be that the link points to a tag with style display:none):C:\Users\X\AppData\Local\Temp\bcc825 02-3bda-41b0-83d9-9a17f8e3fb5e\cTemp\mTemp\mbp_7E6_5_1A_A_1A_1E_2FB_ 199C_3FF0_1\text\part0000.html#0-25f0ccbd9df445af88f11d0c6b37d593

As a non-XML/HTML guru can someone suggest a way to resolve these types of errors? Is the problem in the toc.ncx or the html text itself? I don't know, laugh. Thanks!
John IV is offline   Reply With Quote
Old 05-27-2022, 12:10 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,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by John IV View Post
As a non-XML/HTML guru can someone suggest a way to resolve these types of errors? Is the problem in the toc.ncx or the html text itself? I don't know, laugh. Thanks!
This is a known KindleGen feature/bug. Search your stylesheet(s) for styles that contain display: none;. For example:

Code:
.hidden {
  display: none;
}
or

Code:
h1.hidden {
  display: none;
}
Then search all HTML files for elements that use this style. For example:

Code:
<h1 id="id1" class="hidden">heading 1</h1>
and change that element to:

Code:
<h1 id="id1" title="heading 1"></h1>
Doitsu is offline   Reply With Quote
Old 05-27-2022, 07:50 AM   #3
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: 6,497
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
It can also be caused by a broken link in the table of contents. The Check Book feature of the calibre e-book editor can detect those.
jhowell is offline   Reply With Quote
Old 05-27-2022, 08:10 PM   #4
John IV
Member
John IV began at the beginning.
 
Posts: 22
Karma: 10
Join Date: May 2022
Device: Kindle Scribe
Thanks a lot guys! I'm having success w/ the F7 in Calibre book editor to get more granular info on what's going wrong. I haven't actually come across an instance of Doitsu's example, so far they're all pretty much broken links and Calibre's checker can automatically fix the vast majority of them. Cheers -
John IV is offline   Reply With Quote
Reply

Tags
kindle preview, toc error


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fixing ToC Buhaj47 Editor 4 11-29-2021 08:08 AM
News - recurring problem - TOC only - No content d.smit Recipes 1 09-06-2014 08:31 AM
Kindle 3 and Kindle PW recurring problem of books disappearing jmilica Amazon Kindle 25 07-16-2013 01:55 PM
How is fixing EPUB errors going seonj Introduce Yourself 3 09-02-2011 05:31 PM
Help fixing eBooks [Conversion and Kindle TOC] chyron8472 Conversion 2 01-31-2011 10:59 PM


All times are GMT -4. The time now is 07:29 AM.


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