![]() |
#1 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 254
Karma: 59872
Join Date: Dec 2009
Location: New York, USA
Device: Kindle 3 (wifi) + nokia n900 tablet phone
|
RTF Conversion (Underlined/Italics chapter headings)
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. |
![]() |
![]() |
![]() |
#2 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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:
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 |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,912
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Easy to do in Sigil if the headings use a unique 'class' (the only use underline + italic implies this is so)
Then you could just change the <p and \p> to a <h3 \h3> and have Sigil generate the NCX (and HTML TOC if desired) I do have 3 clips saved to build searches with Code:
(One|Two|Three|Four|Five|Six|Seven|Eight|Nine|Ten) (Eleven|Twelve|Thirteen|Fourteen|Fifteen|Sixteen|Seventeen|Eighteen|Nineteen) (Twenty|Thirty|Fourty|Fifty|Sixty|Seventy|Eighty|Ninety|Hundred) |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to mark chapter headings | JimLL | Sigil | 107 | 06-17-2012 09:02 AM |
After conversion: pagebreaks after chapter headings | droid3p0 | Conversion | 8 | 06-14-2012 10:50 AM |
Chapter Headings | Paxman53 | Conversion | 3 | 10-12-2011 12:31 PM |
Content First several words in chapter underlined | j.p.s | Amazon Kindle | 7 | 10-04-2011 07:57 PM |
Why H1 and H2 Chapter Headings? | Ransom | Calibre | 11 | 08-10-2011 04:29 PM |