Originally Posted by kovidgoyal
You'll have much more control if you use HTML, but if you want to use RTF and still have a TOC the next release of calibre (in a few days) will have the ability to automatically generate the TOC from detected chapters (go to Chapter detection in the conversion dialog and enable "add chapters to table of contents"). So enabling this option should be all you need to do.
Ok, I'll do that.
I just checked what version I'm using of calibre and it's 0.4.56 (with the latest version I see being 0.4.62)
What's in the Chapter Detection at this moment, by default, is this: chapter|book|appendix
Anyway, I'll download that new version you mention, the one available in a few days from now.