Quote:
Originally Posted by g25
Hi, when I convert I would like calibre to detect roman numeral chapters. These chapters don't have the word "chapter" in them, just:
I
II
III
IV
etc..
I figured something like:
[IVXLCDM]+ but I'm not sure exactly how to write it into the
"detect chapter" Xpath expression under the Structural Detection section. Some of the books have the <h2> class tag and some of them have the normal <p> class tag. What would be the exact expression I would use in the xpath line that would detect any combination of "IVXLCDM" as chapters?
Thanks!
|
I don't remember ever seeing a
chapter in the
M range
D, did I forget one
I do a lot of my work with the editor, rather than
fight a special case Xpath.
Beware the Lone I 
(I want more) in other places. The Roman Numerals need to
exist as the only string between tags or along with a limited set of defined keywords
([CLXVI]{1,7}) is the basic part of my EDITOR search term
The TOC tool (also inside the editor) allows all sorts of solutions for indexing a book.