09-25-2011, 05:59 PM | #1 |
Fanatic
Posts: 541
Karma: 1152752
Join Date: Aug 2010
Location: Evansville, IN, USA
Device: Samsung Galaxy Tab 4 Nook & Samsung Galaxy Tab S 10.5
|
epub ncx to mobi nav points is losing items upon conversion
I have an epub that I am attempting to convert to mobi. The basic conversion is going well but the ncx isn't converting as well as it usually does. The epub's toc is all on one level and includes links for the cover, titlepage, etc, etc. as well as the individual parts and chapters. However, the only thing making it through the conversion process and setting up nav points in the mobi are the chapters. Everything else is getting left out altogether. I'd really like all of the epub's original ncx items to be converted to nav points in my mobi. This usually works fine and I'm not really sure what is different about this file.
Any ideas or any questions I can answer that might help make my problem more clear? I am currently using v.0.8.4 Thanks. - Byron |
09-25-2011, 09:16 PM | #2 |
Wizard
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
Did you read this sticky post: Chapter Detection/Table of Contents Tutorial
Sounds like you enabled 'force use of auto-generated table of contents' |
09-26-2011, 05:48 AM | #3 | |
Fanatic
Posts: 541
Karma: 1152752
Join Date: Aug 2010
Location: Evansville, IN, USA
Device: Samsung Galaxy Tab 4 Nook & Samsung Galaxy Tab S 10.5
|
Quote:
Thanks for the suggestion and keep 'em coming, but this isn't it. Honestly, I haven't changed and of my procedures or any of Calibre's settings since this was working before so I suspect that it's something about how this epub's ncx file is made but I'm not sure what is different. I think I'm going to have to compare it to others I've used in the past to try and figure it out. - Byron |
|
09-26-2011, 09:08 AM | #4 | |
Wizard
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
Quote:
|
|
09-26-2011, 09:53 AM | #5 | |
Fanatic
Posts: 541
Karma: 1152752
Join Date: Aug 2010
Location: Evansville, IN, USA
Device: Samsung Galaxy Tab 4 Nook & Samsung Galaxy Tab S 10.5
|
Quote:
If anyone else has any ideas for something I should check or try, please let me know. Thanks. - Byron |
|
09-26-2011, 10:03 AM | #6 | |
Wizard
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
Quote:
|
|
09-26-2011, 10:34 AM | #7 | |
Fanatic
Posts: 541
Karma: 1152752
Join Date: Aug 2010
Location: Evansville, IN, USA
Device: Samsung Galaxy Tab 4 Nook & Samsung Galaxy Tab S 10.5
|
Quote:
I'll wait until I can look through the ncx and play with it by hand. I'll likely play with an older epub that I know worked fine before and then compare its ncx to this one. I'll probably try converting one of these again to try and figure out if something has changed since an older version of Calibre. Thanks again for the advice. - Byron |
|
09-26-2011, 08:40 PM | #8 |
Fanatic
Posts: 541
Karma: 1152752
Join Date: Aug 2010
Location: Evansville, IN, USA
Device: Samsung Galaxy Tab 4 Nook & Samsung Galaxy Tab S 10.5
|
I just don't get it. I've looked at the ncx that is giving me fits and another that I've verified works and formats perfectly and I see hardly any difference between them. The only difference I can see is in the fact that the ncx that doesn't work has classes setup for the various navpoint elements. The ncx that works doesn't have these. I removed them all thinking they really shouldn't be needed anyway but when I do that and convert, no mobi ncx is created at all.
This just gets more and more confusing. I've attached a sample of the problem ncx below. - Byron Code:
<navMap> <navPoint class="cover" id="cvi" playOrder="1"> <navLabel><text>Cover</text></navLabel> <content src="Text/Perr_9780307795847_epub_cvi_r1.htm"/> </navPoint> <navPoint class="titlepage" id="tp" playOrder="2"> <navLabel><text>Title Page</text></navLabel> <content src="Text/Perr_9780307795847_epub_tp_r1.htm"/> </navPoint> <navPoint class="copyright" id="cop" playOrder="3"> <navLabel><text>Copyright</text></navLabel> <content src="Text/Perr_9780307795847_epub_cop_r1.htm"/> </navPoint> <navPoint class="other" id="ded" playOrder="4"> <navLabel><text>Dedication</text></navLabel> <content src="Text/Perr_9780307795847_epub_ded_r1.htm"/> </navPoint> <navPoint class="other" id="ack" playOrder="5"> <navLabel><text>Acknowledgments</text></navLabel> <content src="Text/Perr_9780307795847_epub_ack_r1.htm"/> </navPoint> <navPoint class="other" id="col2" playOrder="6"> <navLabel><text>Dramatis Personae</text></navLabel> <content src="Text/Perr_9780307795847_epub_col2_r1.htm"/> </navPoint> <navPoint class="other" id="epi" playOrder="7"> <navLabel><text>Epigraph</text></navLabel> <content src="Text/Perr_9780307795847_epub_epi_r1.htm"/> </navPoint> <navPoint class="other" id="toc" playOrder="8"> <navLabel><text>Contents</text></navLabel> <content src="Text/Perr_9780307795847_epub_toc_r1.htm"/> </navPoint> <navPoint class="part" id="p01" playOrder="9"> <navLabel><text>Part One - Construction</text></navLabel> <content src="Text/Perr_9780307795847_epub_p01_r1.htm"/> </navPoint> <navPoint class="chapter" id="c01" playOrder="10"> <navLabel><text>Chapter 1</text></navLabel> <content src="Text/Perr_9780307795847_epub_c01_r1.htm"/> </navPoint> </navMap> |
09-27-2011, 07:54 AM | #9 |
Fanatic
Posts: 541
Karma: 1152752
Join Date: Aug 2010
Location: Evansville, IN, USA
Device: Samsung Galaxy Tab 4 Nook & Samsung Galaxy Tab S 10.5
|
OK, here's something else I've tried. The version I'm using at home is v.0.8.4 and that's the one that the particular epub's ncx isn't converting well on. Others do, just not this one. I have v.0.8.13 portable on a flashdrive that I use whenever I'm away and it converts perfectly on it. For now, I'm chalking it up to some problem with v.0.8.4. I'm going to update my home install and see what happens.
Thanks. - Byron |
09-27-2011, 07:54 AM | #10 |
Zealot
Posts: 107
Karma: 554
Join Date: Oct 2008
Device: none
|
Maybe you should try to rename the missing files to shorter ones, e.g., "Perr_9780307795847_epub_cop_r1.htm" to "cop.htm".
|
09-27-2011, 07:58 AM | #11 | ||
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
Quote:
|
||
09-27-2011, 08:48 AM | #12 |
Fanatic
Posts: 541
Karma: 1152752
Join Date: Aug 2010
Location: Evansville, IN, USA
Device: Samsung Galaxy Tab 4 Nook & Samsung Galaxy Tab S 10.5
|
|
09-27-2011, 09:32 AM | #13 |
Wizard
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
I'm not sure if that bug fix would apply because it looks like that ncx is already a single level. Don't really have a clue why it's not working... The newer release may fix it anyway though, worth a shot.
|
09-27-2011, 10:23 AM | #14 |
Fanatic
Posts: 541
Karma: 1152752
Join Date: Aug 2010
Location: Evansville, IN, USA
Device: Samsung Galaxy Tab 4 Nook & Samsung Galaxy Tab S 10.5
|
Yep, it fixed the issue but, like you said, I'd already modified this one down to one level by hand anyway. I'm not sure why it would've made any difference but it definitely did.
All of my versions are updated to v.0.8.20 so I should be good to go now. Thanks again to everyone. - Byron |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Inserting nav points in existing Kindle book? | glauber | Calibre | 2 | 08-05-2011 08:21 AM |
Epub to mobi nav points | illustrata | Conversion | 2 | 06-09-2011 12:10 AM |
Missing NCX in .mobi after conversion | ignis | Conversion | 4 | 03-04-2011 08:53 PM |
losing images on conversion (epub/fb2) | rbruce1314 | Conversion | 0 | 02-09-2011 02:44 PM |
epub to mobi - losing highlights ? | cybmole | Calibre | 5 | 01-05-2011 01:38 PM |