View Single Post
Old 08-27-2013, 12:58 PM   #2
BobC
Guru
BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.BobC ought to be getting tired of karma fortunes by now.
 
Posts: 691
Karma: 3026110
Join Date: Dec 2008
Location: Lancashire, U.K.
Device: BeBook 1, BeBook Pure, Kobo Glo, (and HD),Energy Sistem EReader Pro +
Quote:
Originally Posted by Gwen Morse View Post
I have a few books with a enough chapter headings that manual editing is a PITA (80-100 chapters each).

The chapter headings each have the numbers spelled out in text (so..."One", "Two", etc). They're also in all caps, italics, and underlined.

Is there any way to work with this formatting to tell calibre where the chapter headings are? None of the other text in the books include both underlining and italics.
For problems like this I usually import the RTF into Libre Office and use tools like OOOFBTools and Alternative Find and Replace to reformat the Chapter headings.

You will need to experiment a bit with the regex used by Alternative F&R to make sure you are getting all the Chapters but I've found it works well. Once you have the Chapter headings formatted as "Heading1", "Heading2" etc and showing up properly in the Navigator then Calibre will be happy with them when you use it to convert the RTF.

BobC
BobC is offline   Reply With Quote