06-03-2011, 04:21 PM | #16 | |
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:
This will continue to happen (dualling TOC's {groan, bad pun alert}) for so long as mobi requires that you link an html.toc via the Guide, IMHO, for Kindle. It's a PITA, commercially-speaking, to make two books (like what we're all going through with making "Apple-compliant" epubs as opposed to REALLY compliant/valid epubs for everyone else) instead of one. Hitch |
|
06-03-2011, 07:56 PM | #17 | |
Resident Curmudgeon
Posts: 73,998
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
As far as I am concerned, let Amazon fix their conversion software to deal with toc.ncx hoever they want so we don't have to infest the ePub with an internal ToC. |
|
06-04-2011, 02:35 AM | #18 |
Member
Posts: 11
Karma: 10
Join Date: Jan 2010
Device: None
|
JSWolf wrote:
"I just wish publishers would stop putting in an internal ToC when they have a perfectly good external ToC." Different people have different reading habits. I appreciate a table of contents within the file, especially if it includes blurbs for each of the chapters (as mine does). I agree with you, though, about the usefulness of the external table of contents. |
06-04-2011, 05:43 AM | #19 | |
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:
HTH, Hitch |
|
06-10-2011, 09:50 PM | #20 | |
Resident Curmudgeon
Posts: 73,998
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
06-11-2011, 12:22 AM | #21 |
ePub Maker
Posts: 120
Karma: 16
Join Date: Dec 2009
Location: Mordor
Device: iPad,Kindle 3, Nook 2
|
Your navmap part of NCX code may like this
Code:
<navMap> </navMap> on ADE and iPad, but can't pass epubcheck, which will report element "navMap" incomplete; missing required element "navPoint" first playOrder value is not 1 ePub Maker before 1.2 also generates such code if there's no TOC in Word, also received such error code from epubcheck. I guess Smashword also has such a problem. You may have to insert a navpoint manually to suppress this error, or you may use another tool to convert. By the way, the error tip from epubcheck is generally weird, misleading or meaningless. Last edited by eping; 06-11-2011 at 12:26 AM. |
06-12-2011, 10:36 PM | #22 | |
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 don't use Calibre to create mobi files, firstly; but more importantly, all Calibre does is create an internal toc--an html.toc--which it links via the Guide; it does exactly what you are saying we should NOT have to do to 'appease Amazon.' Calibre isn't magically utilizing the ncx sans an html.toc; it uses the ncx navmap to create an html.toc and linking it to via the Guide items. The TOC "at the back" to which you refer (is also not due to Calibre; it's due to KindleGen/MobiGen) is the very TOC you're saying we don't need. So, call it by any other name, but the "Calibre TOC" that you're saying is sufficient is the selfsame "internal TOC" that you're saying we should not create to appease Amazon. More importantly, and more relevant to the discussion, if you're using Calibre you ARE "infesting the epub with an internal TOC;" you're simply allowing Calibre to do it for you. The "perfectly good external toc" you're referring to, a few posts ago, does not exist for Mobi/PRC; if you are discussing those created by Calibre, those have INTERNAL TOC's, created as I've described. My point was, and still is: any user who simply has an epub with an ncx solely will NOT get a user-viewable and usable TOC via KindleGen or MobiGen sans an html.toc that is linked via the Guide. NOT the ncx. Hitch (Please check out SHAKEN: STORIES FOR JAPAN--Great reads, great authors, great cause; 100% of all royalties go directly to tsunami, earthquake and radiation victims in Japan.) |
|
06-13-2011, 09:56 AM | #23 |
Resident Curmudgeon
Posts: 73,998
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I think you've got it somewhat wrong. ePub can have two different ToC. One internal and one external. The NCX file it the external ToC. if your ToC is in the NCX file, you don't need the internal ToC.
When you convert ePub to Mobi, the NCX gets converted to a linked ToC that is at the back of the Mobi. If you have both an NCX and an internal ToC, you may or may not end up with two ToC in the Mobi. But if the requirement is to have an internal ToC near the front of the Mobi, there there is no reason at all that Kindlegen could not manage that by using the NCX file. The fact that the NCX gets relegated to the back is not my concern. My concern it to get rid of any internal ToC. And the worst ones of all are when the publisher links the ToC headers back to the internal ToC. That's just wrong for an ePub. What does Kindlegen do with the NCX? I knwo what Calibre does with it. It creates a linked ToC at the back of the Mobi. |
06-13-2011, 11:21 AM | #24 | |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Last edited by DiapDealer; 06-13-2011 at 11:24 AM. |
|
06-13-2011, 01:55 PM | #25 |
Resident Curmudgeon
Posts: 73,998
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Calibre will do it without having to tell it to...
Code:
ebook-convert file.epub file.mobi |
06-13-2011, 02:38 PM | #26 | |
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 sorry...but you're simply incorrect. What you see, via Calibre, is nothing more than an internal TOC created via the use of the navmap in the ncx. I'm really very well aware of what an ncx is versus a Guide-linked html.toc (what you are calling an "internal toc"). What Calibre does is create a Guide-linked internal, html.toc; it is doing EXACTLY what you say we should not do to kowtow to Amazon. That toc displayed by Calibre is absolutely not some dynamic, created-on-the-fly usage of the ncx; that is a plain old internal toc, created by Calibre, linked via the Guide, as per the Amazon specs. Just because Calibre creates it doesn't make it something it isn't. That's an internal toc, just like Amazon wants. That is NOT an ncx (aka "external TOC"). It simply takes the navmap, makes an internal toc, which, via use of KindleGen, gets popped in the back of the book. HTH, Hitch (Please check out SHAKEN: STORIES FOR JAPAN--Great reads, great authors, great cause; 100% of all royalties go directly to tsunami, earthquake and radiation victims in Japan.) |
|
06-13-2011, 03:00 PM | #27 | |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
There's an inline TOC (xhtml) that's completely optional in either epub or mobi. It's part of the ebook's text. And there's an internal/structural TOC (NCX for ePub and OEBPS) that you will never see by turning pages. It's part of the ebook's structure. Calibre is the only conversion software (I know of) that will turn the internal (NCX) TOC of an epub into an inline (XHTML) TOC and add it to the back of the mobi—and you can easily tell it not to do that. So it makes no sense to blame an ebook having two TOC's on any particular conversion software. It's simply a choice or an oversight on the part of the creator. |
|
06-14-2011, 09:58 PM | #28 |
Resident Curmudgeon
Posts: 73,998
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Why isn't anybody understanding?
Calibre takes the NCX and generates a ToC from it for the Mobi. It is put at the back. Yes it's HTML and not NCX. I didn't say otherwise. And yes it is guide linked. What it isn't is near the front of the eBook. Mobipocket Reader doesn't deal with the NCX file properly when t converts an ePub. I'm guessing Kindlegen botches the ToC as well. I blame publishers for kow-towing to Amazon. Because if not for Amazon's botched conversion software, there would be no need for an internal ToC in an ePub. |
Tags |
epub, epubcheck, smashwords |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to translate Sigil ? | bionet | Sigil | 9 | 06-02-2011 04:07 PM |
beginner needs help with epubcheck errors... | jeanina | ePub | 10 | 01-25-2011 08:49 PM |
Can I have a Tag that doesn't translate to a category? | jjansen | Calibre | 6 | 03-26-2010 01:47 AM |
Web-based epubcheck upgraded to epubcheck 1.0.5 | kjk | ePub | 4 | 02-09-2010 09:53 PM |