02-24-2011, 03:03 AM | #1 |
Connoisseur
Posts: 55
Karma: 10
Join Date: Dec 2010
Device: K5
|
CBC -> EPUB Table of Contents
Here's how my Sony PRS-300 (Pocket) creates the table of contents when I convert from a CBC to an EPUB:
Chapter 1 -Page 1 -Page 2 Chapter 2 -Page 3 -Page 4 Is it possible to eliminate the table of contents entries at the second level, aka only have it show the chapters in the TOC? I tried using a LRF file and it had no TOC at all. Thanks for any help you can give, even if it's to say "nope, that's just the nature of the beast." |
02-24-2011, 04:26 AM | #2 |
US Navy, Retired
Posts: 9,865
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
|
02-24-2011, 12:20 PM | #3 |
Connoisseur
Posts: 55
Karma: 10
Join Date: Dec 2010
Device: K5
|
Thanks for the help.
Here's the problem with that solution: No TOC is recognized by Sigil (ver 0.3.4) as shown in the attached screencapture, Sigil.jpg. This part of the TOC as seen by Calibre's internal ebook viewer, Calibre.jpg. Calibre is the current version. Any ideas? |
02-24-2011, 12:42 PM | #4 | |
Well trained by Cats
Posts: 30,373
Karma: 58053698
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
In Calibr. You can use 'T' (tweak-EPUB) and Notepad++ (or any good TEXT editor) to cut out the excess from the NCX, and put the package back with ease. |
|
02-24-2011, 01:11 PM | #5 |
Connoisseur
Posts: 55
Karma: 10
Join Date: Dec 2010
Device: K5
|
Thanks so much!
I didn't save in Sigil just used it to demonstrate. If it's not broke, don't touch it. I've attached the ncx file in a zip file. What items do I take out? I'm not a programmer nor have any experience dealing with xml. Is there any way to tell Calibre how I want the TOC created when it converts the file? Work smarter, not harder and all that. |
02-24-2011, 01:29 PM | #6 |
creator of calibre
Posts: 44,342
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
There's an option to do that in the next calibre release, under Comic Input
|
02-24-2011, 01:30 PM | #7 | |
Well trained by Cats
Posts: 30,373
Karma: 58053698
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Code:
<navPoint class="chapter" id="6ae102f0-8679-4c0a-9589-976a4d49152d" playOrder="1">
<navLabel>
<text>Page 1</text>
</navLabel>
<content src="comic_1/page_1_u4.xhtml"/>
</navPoint>
|
|
02-24-2011, 02:21 PM | #8 |
Connoisseur
Posts: 55
Karma: 10
Join Date: Dec 2010
Device: K5
|
Everyone, thanks so much for the help. I'll wait until the next release for the improved functionality.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
access directly the table of contents of cbc converted into epub | Khawarizmi | Sony Reader | 4 | 12-27-2010 08:55 AM |
Adding Table of Contents to ePub problems... | cates | Calibre | 2 | 10-10-2010 04:18 PM |
Table of contents issue - xhtml to epub | Ryan_scriptorium | Calibre | 1 | 07-11-2010 10:40 AM |
Table of Contents on ePub | Matt2012 | Ectaco jetBook | 3 | 03-13-2010 01:35 PM |
EPUB Table of Contents | Acey | Calibre | 7 | 11-19-2008 11:35 AM |