View Single Post
Old 07-28-2009, 09:13 AM   #13
Kostas
Still wondering why
Kostas has learned how to read e-booksKostas has learned how to read e-booksKostas has learned how to read e-booksKostas has learned how to read e-booksKostas has learned how to read e-booksKostas has learned how to read e-booksKostas has learned how to read e-books
 
Kostas's Avatar
 
Posts: 253
Karma: 800
Join Date: Jun 2009
Location: Athens, Greece
Device: PRS 505, (BlackBerry Bold ?)
Quote:
Originally Posted by hoops10 View Post
most of the chapters are listed as being on the wrong page. Maybe this is something that needs to be done in Word?
I'm not sure I understand what you mean.
In ebooks, page numbers in a ToC are an irrelevant information.
The text is by definition formatted differently than on your pc and I don't think that ebook readers can handle dynamically this by changing the page number that appears on the right of a conventional ToC.
If you change the font size or orientation on your ebook reader, the text reflows and the displayed page numbers in the Toc should be modified, which I'm pretty sure doesn't happen.

The usefulleness of a ToC in ebooks is 1) to inform about the chapters of your book (not the page number that these chapters are located) 2) to allow you to jump directly to a chapter clicking on an entry of the ToC.
That's why I suggested to build a ToC without page numbers.
I don't know if openoffice offers such an option. I think it should.

Besides that, does the ToC created in your ePub allow to jump to the correct chapter by clicking on it?
If yes, the job is done, provided that you manage to get rid of the useless page number information.

If you cannot jump to chapters by clicking on a ToC entry, the process has failed and you have to try another method to generate a relevant ToC.

You could edit the html text with a html editor (like notepad++) and add heading tags to chapter titles. This should allow Calibre to automatically detect headings ang generate a relevant ToC. You have to enclose the chapter title text in heading tags <h1>....</h1>, <h2>....</h2>,... depending on the hierarchical level you want.
Calibre has also a detection method based on text (with regular expressions), even without tags. It should detect ToC entries each time it meets a paragraph starting with the words "chapter", "book", "section" or "part".
If this is the case in your ebook, you should try this Calibre feature.

Quote:
Originally Posted by hoops10 View Post
Also, should the Table of Contents be created at the very beginning of the ebook or at the very end?
It really depends on what you like most. Personally, in ebooks I find more logical the ToC to be located a the beginning.
Kostas is offline   Reply With Quote