View Single Post
Old 10-30-2008, 01:52 AM   #63
=X=
Wizard
=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.
 
=X='s Avatar
 
Posts: 3,672
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
Creating external TOC for LRF/MOBi files

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
Attached Thumbnails
Click image for larger version

Name:	BC_MobiPocket_Create-TOC.jpg
Views:	741
Size:	90.7 KB
ID:	17434   Click image for larger version

Name:	BC_Calibre_LIT-Instructions.jpg
Views:	689
Size:	72.1 KB
ID:	17435  

Last edited by =X=; 10-30-2008 at 11:47 AM. Reason: Corrected error in text; reported by Ortep
=X= is offline   Reply With Quote