View Single Post
Old 09-14-2009, 05:08 AM   #13
prepbgg
Junior Member
prepbgg began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Sep 2009
Device: HTC Hero phone
Thanks to kovidgoyal's encouragement I had another go: loaded my rtf file (created in Word with 'Heading 3' style applied to all chapter headings and a table of contents created by Word) into Calibre, then leaving the preferences as described above I converted into epub and this time the result worked, both in Calibre and in FBReader.

There was a minor problem in that the entries in table of contents were present at the start of the epub document looking slightly garbled.

Bearing in mind that by default Calibre seems to look for h1 and h2 headings, but not h3, when creating a table of contents, what I have now done is:

1. In Calibre: set preferences for 'Structure Detection' and 'Table of Contents' back to default (referring to h2 headings but not h3)
2. In Word: applied 'Heading 2' styles to the headings I want in the TOC, then saved the document as an rtf file
3. NOT created a TOC in Word
4. In Calibre: simply added the rtf file and converted to epub without modifying any settings
5. The result seems to work perfectly, both in Calibre and in FBReader on my Android phone.

I'm not sure exactly what I did wrong previously. I expect it was a combination of not understanding I did not need to create a TOC in Word and creating muddled preferences when I tried to get Calibre to look for h3 headings.

Anyway, now that I understand a bit better what I am doing, it seems to work very well.

Thank you all for your patience and advice.
prepbgg is offline   Reply With Quote