Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 05-29-2012, 04:59 PM   #1
catspajamas
Junior Member
catspajamas began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2012
Device: nook
txt to epub form feed conversion

Hello - I'm new to Calibre and ebooks, so please pardon my ignorance. I've tried using the help and these forums to answer what seems like a simple issue, but I just can't seem to nail it down. Hope I'm not being repetitive.

I have a book in simple text file format. It has dos form feed characters (Hex 0c, octal 014) between the pages. I simply want to convert to epub format and have those show up as page breaks. The Calibre conversion program seems to convert them to an empty string.

Can I simply use my text editor to convert the form feeds to a string Calibre will recognize and convert to a page break?

I have very limited experience working with html tags, so please be gentle. Thank you.
catspajamas is offline   Reply With Quote
Old 05-29-2012, 06:01 PM   #2
theducks
Well trained by Cats
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: 31,046
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by catspajamas View Post
Hello - I'm new to Calibre and ebooks, so please pardon my ignorance. I've tried using the help and these forums to answer what seems like a simple issue, but I just can't seem to nail it down. Hope I'm not being repetitive.

I have a book in simple text file format. It has dos form feed characters (Hex 0c, octal 014) between the pages. I simply want to convert to epub format and have those show up as page breaks. The Calibre conversion program seems to convert them to an empty string.

Can I simply use my text editor to convert the form feeds to a string Calibre will recognize and convert to a page break?

I have very limited experience working with html tags, so please be gentle. Thank you.
You could read up on Markdown (a Calibre text input preference)
or you could replace the FF with a HTML <hr /> tag and have a custom style for HR with page-break-before: always as one of its properties
theducks is offline   Reply With Quote
Advert
Old 05-30-2012, 12:14 AM   #3
catspajamas
Junior Member
catspajamas began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2012
Device: nook
Your suggestion for a simple substitution solved this immediate problem. Thank you. However, I see I have a long way to go if I want to regularly convert this type of OCR'd document into a more professional epub. Still, this will get me through this book much more nicely, so thanks again
catspajamas is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
txt/epub - Guillemets conversion problem julo Conversion 16 11-15-2011 10:23 AM
Txt->EPUB Conversion Issue nrich61 Conversion 7 07-07-2011 06:03 PM
TXT to EPUB conversion issue rockeh Conversion 2 03-18-2011 10:50 AM
Preserving <br /> on epub -> txt conversion billingd Calibre 1 08-11-2010 06:24 AM
Conversion: EPUB to TXT Starson17 Calibre 11 05-29-2010 12:31 PM


All times are GMT -4. The time now is 11:27 PM.


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