Thread: TOC in the GUI
View Single Post
Old 01-04-2011, 08:13 PM   #1
p3aul
Captain Courageous
p3aul doesn't litterp3aul doesn't litter
 
p3aul's Avatar
 
Posts: 239
Karma: 102
Join Date: Apr 2009
Device: calibre, PRS 505
Smile TOC in the GUI

Hi!

I want to convert text files in the GUI to EPUB. The problem is how to detect chapters. some of my books have the word chapter, but others might say CHAPTER, others have roman numerals alone. others may just be a number followed by a period. Still others may just have the words like One, Two, Three and so forth. Kovid helped me out once before when I had Chapters within Parts by placing this in the preferences:

//*[name()='h1' or name()='h2' or name()='h3']

could someone help me out?
Thanks,
Paul
p3aul is offline   Reply With Quote