View Single Post
Old 09-19-2011, 06:08 PM   #1
ccraig13
Junior Member
ccraig13 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2011
Device: iPhone 3G
Question New Calibre isn't generating TOC

I've done this before ( About a month ago ) but ever since I upgraded Calibre ( A few days ago ) it doesn't work anymore. My chapters are coded as follows:
Code:
<p class="a-chap-title">
  <a class="calibre4" href="../Text/BOS_split_000.xhtml#toc" id="chaptertitle">
    Chapter Title
  </a>
</p>
I set the regex to look for p tags with a class value of "a-chap-title":
Code:
//h:p[re:test(@class, "a-chap-title", "i")]
I get nothin.
ccraig13 is offline   Reply With Quote