![]() |
#1 |
Nameless Being
|
"metadata" (toc) in HTML documents
The documents I am trying to make into epub format have a nice TOC in them. Can I tell calibre (or ebook-convert in particular) to just use that TOC?
Thank you, Perry |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
My wife makes documents for her organization in Microsoft Word. She marks the chapters with Heading1 format, tells Word to make a TOC, saves it out as HTML filtered and drags it into Calibre. Calibre makes a beautiful EPUB TOC that's identical. Your question would be easier to answer if you said something about your source document.
|
![]() |
![]() |
Advert | |
|
![]() |
#4 |
Nameless Being
|
Anyone care to help here?
|
![]() |
![]() |
#5 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,325
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
I just did it by:
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Nameless Being
|
That wasn't my original question. My question is how do I specify a TOC to use -- not how calibre can find the toc entries. Someone asked me for an example (which didn't make sense to me at the time).
So... to repeat, how do I tell calibre what to use for the TOC? i.e. how do I give it a list of TOC entries? |
![]() |
![]() |
#7 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,164
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Write an opf+ncx file use the automatically generated ones as a base
or stick special class attributes on all the elements you want in the toc in the source html files and use the toc autodetection options |
![]() |
![]() |
![]() |
#8 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,325
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
The html file already uses H? tags. The TOC (which is not actually a TOC, but is a section in the cover page) appears to be automatically generated by finding H? tags and generating a reference to the <a > anchor within the H tag. That is why I thought that doing the same thing (finding the H? tags) would satisfy the need.
Last edited by chaley; 03-31-2010 at 06:00 AM. Reason: typo correction |
![]() |
![]() |
![]() |
#9 | |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,164
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Getting calibre to detect "Prologue" and "Epilogue" for TOC | sherman | Calibre | 2 | 09-20-2010 02:21 AM |
e-Books show in "My Computer" Kindle 3 documents folder | tcreek | Calibre | 1 | 09-03-2010 10:34 AM |
Sub folder in "Personal Documents" | CoolDragon | iRex | 12 | 04-06-2010 09:26 AM |
Guide for you can see correctly the pdfs "comics, images, documents" in ereaders sony | computersexperto | LRF | 2 | 11-29-2009 06:13 AM |
reflowable documents: what does "page" mean? | sic | Reading and Management | 3 | 02-15-2007 02:44 PM |