|06-07-2009, 01:58 PM||#1|
Join Date: Mar 2008
Location: Miami, FL, USA
Device: iPhone 4, iPad 2
Table of contents conversion problem...
I have this book in HTML format.
When I convert it to Epub (Calibre 0.5.14) it seems ok, but the table of contents is full of links that go nowhere except the beginning of the book.
If I convert the book to MOBI with Mobi Creator, the table of contents works fine in Mobireader. If I convert the resulting MOBI book to Epub with calibre, then the table of contents works fine.
Why is that? if the TOC works with MOBI Creator, and Calibre can convert that MOBI book fine, why not the original HTML?
Here is a RAR archive with the appropiate files.
|06-07-2009, 02:04 PM||#2|
creator of calibre
Join Date: Oct 2006
Location: Mumbai, India
You need to fine tune the detection of the table of contents. Mobipocket creator uses different assumptions about how to generate a table of contents from an html file, which happen to match this html file better than calibre's.
|06-10-2009, 09:19 AM||#3|
Join Date: Mar 2009
Location: Bristol, England
Device: PRS-T1, 1825PT, Galaxy Tab, One X, TF700T, Aura HD, Nexus 7
Could you explain how to "fine tune" the detection of TOC.
For me, all the chapters in the first split of the book work but all the other chapters are listed in the TOC but have no links.
|06-21-2009, 03:52 AM||#4|
Join Date: Jun 2009
Device: Kindle 2
i think what he means is, correct me if I am way off, you need to be more specific in telling calibre where the chapters are in the book. so if you have an <h2> in front of every chapter, and you tell calibre to just find <h2> it sometimes wont work, like in my case. so you then have to tell calibre to look in specific areas of the text for the h2 code. im still trying to figure it out myself. check out this link:
look at the part where it says "select by tag content". it may help you. i think the more specific you get with telling calibre to look for your tags the better the outcome. i could be totally off but i am sure that is what he means. as i said, im still trying to figure out this whole thing myself.
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Table of Contents||peterinnes||Sigil||1||09-29-2010 04:03 AM|
|Table of Contents - html to Mobi problem||thames||Calibre||3||06-02-2010 08:24 PM|
|How to: table of contents||wizzofoz||Sigil||1||10-08-2009 09:22 AM|
|only the table of contents||wang960||Sony Reader||3||08-29-2008 01:45 PM|
|Creator Table of Contents||Nate the great||Kindle Formats||5||07-10-2008 06:55 AM|