Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 10-12-2010, 09:58 PM   #1
jeff47
Junior Member
jeff47 began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Oct 2010
Device: Kindle v3
Trouble w structure detection

Hi,
I'm trying to convert a ePub I've edited in Sigil to Mobi, using Calibre 0.7.23, for use on my Kindle v3. The problem I'm having is with the structure detection - at least, I assume that's what creates the ticks on the horizontal progress bar on the Kindle.

I've tried a number of things: adding "chapter" to the class of the containing tags and using //*[@class="chapter"] for the 'detect chapters' pattern, even adding just an <hr /> before each chapter and using //h:hr. Neither works.

I do have some divisions in the converted Mobi, but they are not where I want and I don't see the pattern in their creation. Is there some voodoo to this? It seems so simple from the documentation, I don't understand what I'm missing.

Can someone point me in the right direction please?

Jeff
jeff47 is offline   Reply With Quote
Old 10-13-2010, 12:51 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,351
Karma: 4961459
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
the marks depend on the creation a correct TOC. You have to setup the TOC detection options to properly detect the chapters in your input document.

The creation af a TOC is separate from the detection of chapters. usually detected chapters become a TOC, but not always. So it best to set the level1 TC detection expression also.
kovidgoyal is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Structure Detection - Remove Header (or Footer) Regex DarkKipper Conversion 69 11-09-2013 12:21 PM
epub - force a 2nd pass to improve structure detection ? cybmole Calibre 10 10-08-2010 01:00 AM
Structure Detection Ceased To Exist? radiofred Calibre 3 10-01-2010 12:33 AM
Device detection? totanus ePub 1 12-17-2009 07:05 AM
Structure detection v5.5 and v6.2 AlexBell Calibre 2 07-29-2009 10:11 PM


All times are GMT -4. The time now is 05:48 AM.


MobileRead.com is a privately owned, operated and funded community.