Creating external TOC for LRF/MOBI files
To add an internal TOC all a user has to do is select the “Insert TOC” button. Any text marked ‘Title’ ore ‘Sub Title’ will show up in the TOC.
This steps below covers how to get external TOC on LRF books.
Using Calibre with LIT
If the user is using WordRMR to create LIT eBooks these are the additional steps required to get the external TOC working on an LRF eBook
To get the external TOC to work in Calibre, only requires adding a switch to the conversion. NOTE: Calibe always inserts a page break a chapter. There is no way to disable this today. To avoid double page breaks run the “Find Chapter w/o Page Break”.
In the “Chapter Detection” category enter the following text in the “Detect Chapter at tag:” edit box
p,class, RWSDK-2CHAPTERTITLE
SEE
Calibe Conversion dialog image below
Using MobiCreator to create an external TOC
Since Mobicreator does not insert any page breaks prior to chapter it is best to use the "Auto Chapter..." option, located on the menu bar, if you wish to have page breaks for a new chapter.
For the "Table of Contents" section in the MobiCreator tool insert the following text in the table.
p,class,2CHAPTERTITLE
p,class,21CHAPTERSUBTITLE
See
Mobi Image for an example