03-01-2010, 01:28 AM | #1 |
Member
Posts: 23
Karma: 10
Join Date: Mar 2010
Device: iphone/stanza
|
HTML Book + non HTML TOC to epub
I have a handful of HTML files for a book. each file is a chapter, and I have a separate TOC html file. I don't want the HTML TOC file to be included in the pages of HTML in the book. I want to be able to have a TOC file with the name of a chapter and the URL of it, without having it show up as one of the pages you scroll through while reading the book. None of the guides I can find accomplish this, and omitting the TOC results in a page with out-of-order HTML pages.
I'm generally creating a .zip of my book folder and adding it to my book entry in callibre, then converting to epub. long question short, how do I generate my own TOC with a bunch of html files that doesn't become a page in the book. |
03-01-2010, 01:30 AM | #2 |
Member
Posts: 23
Karma: 10
Join Date: Mar 2010
Device: iphone/stanza
|
oh yeah, and I need at least two levels of TOC.
|
Advert | |
|
03-01-2010, 02:28 PM | #3 |
creator of calibre
Posts: 44,380
Karma: 23766374
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Add
style="display:none" to the enclosing html element of the TOC |
03-01-2010, 02:29 PM | #4 |
creator of calibre
Posts: 44,380
Karma: 23766374
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Or create an epub file and then hand edit it (its a simple change in the OPF file inside the epub)
|
03-02-2010, 02:58 AM | #5 |
Member
Posts: 23
Karma: 10
Join Date: Mar 2010
Device: iphone/stanza
|
sweet. I tried that second one, and while poking around I found some other interresting bits in the html I did some googling after that, and I'ma try to make my own from scratch since most of it is actually just xhtml on the inside. did you know that?. thanks kovidgoyal
|
Advert | |
|
Tags |
epub, html, toc |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre Recipe HTML content differs from raw html of index.html. | krunk | Calibre | 4 | 09-20-2010 09:48 PM |
can't generate a toc from an html file | p3aul | Calibre | 13 | 08-27-2010 05:44 AM |
TOC filter and Multiple HTML Files | Beedrew | Calibre | 1 | 07-20-2010 10:32 PM |
pulling embedded TOC from HTML | JBNY | Calibre | 0 | 12-03-2009 05:05 PM |
TOC error when converting HTML | poloman | Calibre | 2 | 12-14-2008 04:05 PM |