Thread
:
can calibre creat a TOC by reading numerals as chapter marks
View Single Post
10-04-2010, 03:51 AM
#
6
Manichean
Wizard
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
Quote:
Originally Posted by
ldolse
You'll also need to change the chapter detection xpath. Change the default to this:
Code:
//h:h2[re:test(., "\d+", "i")]
Now you confused me- doesn't that test for the presence of numerals inside an h2 tag pair?
Manichean
View Public Profile
Find More Posts by Manichean
Track Posts by Manichean via RSS