View Single Post
Old 04-21-2010, 03:13 AM   #1
Fredom
Junior Member
Fredom doesn't litterFredom doesn't litterFredom doesn't litter
 
Posts: 4
Karma: 218
Join Date: Apr 2010
Location: Hamilton, New Zealand
Device: iPhone, iPad
TOC Creation - simplifying suggestion

Hi there
I'm a newbie to everything - time of wonder!
I want to create a Table of Contents for an EPUB from Nisus Writer Pro (on an iMac 27" running Snow Leopard) using Calibre.
Nisus writer Pro generates an Excellent Table of Contents for long documents - My book is 522 A5 pages with 176 chapters in one long rtf file than can be exported as an html file.
In the Table of Contents section of Calibre's Online User Manual, 4th para, I note, and have had it work, that Calibre adds any hyperlinks it finds in the input document to the table of contents. This creates a vertical list of 176 page numbers in the EPUB TOC which readily go to the correct position in the EPUB book. In the Book the text of every chapter heading is the text on the line immediately following every Page Break. Yet I can't get it carried over into the EPUB TOC with the page number hyperlinks.

Can Calibre please be modified to offer, via the NUMBER OF LINKS option, to also carry over the appropriate chapter title texts related to each hyperlink and that immediately follow each Page Break?

Is this the answer in CSS? If so, it must be possible to add it into Calibre code with a tick box for activation placed near the NUMBER OF LINKS option.
.chaptertitle { page-break-before: always }


That would solve a difficulty I have not yet solved after many many hopeful attempts and thereby save hours of work.
Kind regards to all and best wishes on a product on its way to market dominance.

Fredom
Hamilton, NZ

Last edited by Fredom; 04-21-2010 at 03:39 AM. Reason: Found suggestion in a forum
Fredom is offline   Reply With Quote