View Single Post
Old 03-24-2012, 06:33 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
Question how to build toc when chapter headers are just images

I have a book in which images have been used as chapter headers - each chapter has a unique image.

the chapter header code looks like this
Code:
<h1 class="calibre8" id="calibre_pb_13"><span class="calibre9"><a class="calibre10"></a><img alt="" class="calibre11" src="../Images/record-522.jpg" /></span></h1>
the image name changes for each chapter, and the actual chapter number has been embedded into each image.
the id ="calibre_pb-nn" changes its value but nn increments 2 at a time & starts at 09 so would be tricky to extract & adjust that

I cannot think of any way to auto-generate a workable TOC from this - is there one ?
I could manually add text to each chapter header but that would take a long time.

Last edited by cybmole; 03-24-2012 at 06:36 AM.
cybmole is offline   Reply With Quote