View Single Post
Old 01-03-2011, 03:30 AM   #1
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
generate TOC duplicates puzzle

I am converting from epub to mobi and trying to generate a TOC.
the epub is split by chapter and the text CHAPTER occurs only as a chapter heading. i.e. the epub html file start CHAPTER 1 CHAPTER 2 etc.

so I set a chapter detect regex as CHAPTER \d and force TOC generate.

in the MOBI i do then get TOC but each chapter entry is there 4 times. each of the 4 link to the chapter start correctly, but I cant figure what is creating the duplicates
i get e.g. 2 entries saying CHAPTER 1 ( folloed by 1st line of text)
plus 2 entries saying only CHAPTER 1.

please see uploaded screen grab of TOC in calibre viewer
Attached Thumbnails
Click image for larger version

Name:	New Picture.jpg
Views:	262
Size:	38.2 KB
ID:	64012  

Last edited by cybmole; 01-03-2011 at 03:59 AM.
cybmole is offline   Reply With Quote