Can't you get whatever you're producing the ebooks with to auto generate the table of contents based on the content headers?
I'll admit to been rather ignorant of what software is used for ebooks, but open office, word, lyx, latex all support auto generation of table of contents prior to exporting to whatever output formats they support.
|