06-12-2012, 11:34 PM | #1 |
Captain Courageous
Posts: 239
Karma: 102
Join Date: Apr 2009
Device: calibre, PRS 505
|
Manually add a TOC entry
I converted a html file that I got from Gutenberg with Calibre ebook-convert. For some reason it will not pick up a chapter. I've loaded it into Sigil, and clicked on "Generate TOC from headings to see if Sigil wou;ld pick up the chapter. It didn't Can I add the chapter manually? Woul manually add the entry in the toc.ncx file work?
Thanks, Paul |
06-12-2012, 11:57 PM | #2 | |
Well trained by Cats
Posts: 29,795
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
The only time I have seen something like this (sigil4), is a malformed header. Sigil 6 β has a setting as to which headers get included in the Auto generated TOC |
|
Advert | |
|
06-13-2012, 12:28 AM | #3 |
Captain Courageous
Posts: 239
Karma: 102
Join Date: Apr 2009
Device: calibre, PRS 505
|
OK I found the error! the error was in the html file I downloaded from Projectgutenberg. An <h2> tag was left out of the Chapter III heading an so was not picked up by calibre. Thanks,
Paul |
06-13-2012, 12:35 AM | #4 | |
Well trained by Cats
Posts: 29,795
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
I have stared and stared at code, knowing it is broken and can't semm to spot the error because it looks right (but really is missing 1 tiny / ) |
|
06-13-2012, 08:22 AM | #5 |
Captain Courageous
Posts: 239
Karma: 102
Join Date: Apr 2009
Device: calibre, PRS 505
|
Thanks,
you know the marriage of Calibre and Sigil is a powerful one. I don't know if I should start a new thread or express another similar problem in this one. I used Calibre to convert another book, a text file. I then loaded it into Calibre and the Name and author fields were "unknown". I loaded it into Sigil and examined the content.opf file. The creator line was there and I replaced "unknown" with the author. The title line wasn't there so I had to create it. I then saved the file, and again loaded it into Calibre. This time the Author was there but in the title it had placed the word "body" which was just part of the title! Here is the line I used: <dc:title>The Body in the Bunker</dc:title> I placed it inside the <metadata> tag like this: Code:
<dc:language>en</dc:language>
<dc:title>The Body in the Bunker</dc:title>
<dc:creator>Herbert Adams</dc:creator>
OK I know it would be a simple thing to just add the title and reconvert it inside the GUI but I'm trying to learn something so maybe I'll be a "Guru" some day |
Advert | |
|
Tags |
toc creation, toc problem |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Manually add books to KOBO account | ChildeRoland | Kobo Reader | 14 | 01-17-2015 07:10 PM |
Manually trimming the metadata.opf and toc.ncx file | ProDigit | ePub | 22 | 04-16-2012 10:01 AM |
Unexpected TOC entry | neil_matthews | Conversion | 4 | 06-12-2011 12:45 PM |
Manually add/delete ebooks to a database | sariel2413 | Calibre | 3 | 03-18-2010 04:45 PM |
How to manually add eBooks to Memory Stick (sans PRS-505)? | lunged | Sony Reader | 2 | 05-10-2009 04:19 PM |