Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 08-26-2013, 01:12 PM   #1
Gwen Morse
Addict
Gwen Morse never is beset by a damp, drizzly November in his or her soul.Gwen Morse never is beset by a damp, drizzly November in his or her soul.Gwen Morse never is beset by a damp, drizzly November in his or her soul.Gwen Morse never is beset by a damp, drizzly November in his or her soul.Gwen Morse never is beset by a damp, drizzly November in his or her soul.Gwen Morse never is beset by a damp, drizzly November in his or her soul.Gwen Morse never is beset by a damp, drizzly November in his or her soul.Gwen Morse never is beset by a damp, drizzly November in his or her soul.Gwen Morse never is beset by a damp, drizzly November in his or her soul.Gwen Morse never is beset by a damp, drizzly November in his or her soul.Gwen Morse never is beset by a damp, drizzly November in his or her soul.
 
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.
Gwen Morse is offline   Reply With Quote
Old 08-27-2013, 12:58 PM   #2
BobC
Addict
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: 350
Karma: 245756
Join Date: Dec 2008
Location: Lancashire, U.K.
Device: BeBook 1, BeBook Pure, Kobo Glo, Various Android Apps
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
 
Enthusiast
Old 08-27-2013, 01:52 PM   #3
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,869
Karma: 5654321
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
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)
theducks is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 03:28 PM.


MobileRead.com is a privately owned, operated and funded community.