08-15-2016, 10:12 AM | #1 |
Enthusiast
Posts: 43
Karma: 30
Join Date: Feb 2016
Device: none
|
mobi from kindlegen contents list problem
Hi all, and thanks for your help.
I've made an ePub directly (not using calibre etc), and it validates fine. However, converting with kindlegen produces a mobi contents list (in PC kindle reader) that ignores clicks on the second page (title page) instead showing the cover image. All pages display perfectly navigating by page forward/back and by the html toc so I presume the problem is in the .ncx? Curiously, if i use Calibre to convert from epub to mobi, the resulting mobi works properly. Where am I going wrong? I'd prefer to get kindlegen to work if possible. Code:
navMap> <navPoint id ="title001" playOrder="1"> <navLabel> <text>Title Page</text> </navLabel> <content src ="content/title001.html"/> </navPoint> <navPoint id ="toc" playOrder="2"> <navLabel> <text>Contents</text> </navLabel> <content src ="content/toc.html"/> </navPoint> <navPoint id ="content001" playOrder="3"> <navLabel> <text>Find Gold</text> </navLabel> <content src ="content/content001.html"/> </navPoint> <navPoint id ="content002" playOrder="4"> <navLabel> <text>About the Author</text> </navLabel> <content src ="content/content002.html"/> </navPoint> <navPoint id ="content003" playOrder="5"> <navLabel> <text>Copyright Page</text> </navLabel> <content src ="content/content003.html"/> </navPoint> </navMap> </ncx> Code:
<manifest> <item href="content/title001.html" id="title001" media-type="application/xhtml+xml"/> <item href="content/content001.html" id="htmlcontent001" media-type="application/xhtml+xml"/> <item href="content/content002.html" id="htmlcontent002" media-type="application/xhtml+xml"/> <item href="content/content003.html" id="htmlcontent003" media-type="application/xhtml+xml"/> <item href="content/toc.html" id="toc" media-type="application/xhtml+xml"/> <item href="toc.ncx" id="ncx" media-type="application/x-dtbncx+xml"/> <item href="css/style001.css" id="cssstylesheet" media-type="text/css"/> <item href="images/cover.jpg" id="My_Cover_ID" media-type="image/jpeg"/> <!-- Required for KindleGen, Barnes and Noble, and iBooks --> </manifest> <spine toc="ncx"> <itemref idref="title001"/> <itemref idref="toc"/> <itemref idref="htmlcontent001"/> <itemref idref="htmlcontent002"/> <itemref idref="htmlcontent003"/> </spine > <guide> <reference href ="content/title001.html" type ="text" title ="Begin Reading"/> <reference href ="content/toc.html" type ="toc" title ="Table of Contents"/> </guide > </package> Many thanks. |
08-16-2016, 07:47 AM | #2 |
mostly an observer
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
Have you ever tried Sigil? I find it much better than Calibre for this purpose. I've only once or twice ever been obliged to look at the NCX file in a Sigil epub, and I've never had a validated Sigil epub give a problem when uploaded to the KDP. (I don't use KindleGen or Kindle Previewer for this purpose, and indeed have never been able to get KindleGen working on my Windows 7 desktop.)
|
08-16-2016, 09:00 AM | #3 |
Enthusiast
Posts: 43
Karma: 30
Join Date: Feb 2016
Device: none
|
Funny thing is that everything is validating fine, epub and mobi. And the calibre version works ok, but I'd prefer to get the kindlegen version right if possible.
It's an odd one. |
08-16-2016, 05:47 PM | #4 |
Grand Sorcerer
Posts: 6,496
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
|
This is just a guess, but the problem may have something to do with your book not having an actual cover page in the spine and starting instead with the title page.
|
08-17-2016, 02:25 PM | #5 |
Enthusiast
Posts: 43
Karma: 30
Join Date: Feb 2016
Device: none
|
|
09-23-2016, 07:56 AM | #6 | |
Enthusiast
Posts: 43
Karma: 30
Join Date: Feb 2016
Device: none
|
Sorry about taking so long.
This issue also happens with another epub, this one with a cover in the spine: Quote:
Thanks again |
|
09-23-2016, 09:06 AM | #7 |
Enthusiast
Posts: 43
Karma: 30
Join Date: Feb 2016
Device: none
|
I wondered whether having in the <guide> the 'begin reading' page set to the title page is part of the problem.
Turns out it's not that. If I click Title page in the ToC it shows the cover. |
09-24-2016, 03:52 AM | #8 | |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
I'll have to actually check our cheatsheets in the office, tomorrow, to remember the answer, but there's a quick-ish fix, if that's all it is. Although, having said that--your Guide doesn't have the title page set. Hmmmmph. Well, maybe the same fix will work. When I scrounge it up tomorrow, I'll let you know. Hitch |
|
09-24-2016, 02:51 PM | #9 | |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
I'm not 100% sure that we're handling the SAME bug, but, on the chance that it helps/works, make sure that in the navmap, you change this Code:
<navPoint id ="title001" playOrder="1"> <navLabel> <text>Title Page</text> </navLabel> <content src ="content/title001.html"/> </navPoint> Code:
<navPoint id ="title001" playOrder="1"> <navLabel> <text>Title Page</text> </navLabel> <content src ="content/title001.html#tt"/> </navPoint> Code:
<div class="booksection"> <p class="title" id="tt"><b>YOUR BOOK NAME HERE</b></p> <p class="title1">SUBTITLE HERE</p> <p class="title2">BYLINE HERE</p> </div> Hope that helps. Hitch |
|
09-27-2016, 11:07 AM | #10 |
Enthusiast
Posts: 43
Karma: 30
Join Date: Feb 2016
Device: none
|
Thanks Hitch, I'll give that a try.
Meantime, given that Calibre converts from epub to mobi without creating this problem, is there any disadvantage to just going with that for KDP? |
09-27-2016, 05:34 PM | #11 | |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
That's all. Your book will look the same, whether someone uses a K2 to read, or an HDX. That can be a good thing to a lot of people. Furthermore, you sacrifice any ability to take advantage of the new LITB. HOWEVER, if you stick with simple stuff, and that's all you have, it should work for you. All that being said--what I posted to you SHOULD solve your problem. Hitch |
|
09-28-2016, 03:12 PM | #12 |
Enthusiast
Posts: 43
Karma: 30
Join Date: Feb 2016
Device: none
|
You method works a treat, Hitch.
Many thanks again, I really appreciate it. Dave |
09-28-2016, 08:14 PM | #13 |
Bookmaker & Cat Slave
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sigil to Kindlegen -- No Table of Contents | paul-b | Sigil | 70 | 05-03-2012 04:57 PM |
Problem with the Table of Contents of the mobi file | kindleren | Conversion | 7 | 03-04-2012 12:42 PM |
ePub or HTML to Mobi Table of Contents problem | Dark123 | Conversion | 2 | 05-08-2011 03:43 PM |
Table of contents problem converting from mobi to epub | dlmecum | Calibre | 7 | 01-21-2011 07:07 PM |
Table of Contents - html to Mobi problem | thames | Calibre | 3 | 06-02-2010 07:24 PM |