View Single Post
Old 06-08-2010, 01:35 AM   #8
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by sglinert View Post
There's nothing odd about them, as far as I can see. Line 1 of the file in question seems to be a carriage return.

Saving the file as HTML and converting worked fine. But, needless to say, I am not up to converting 4000 files to html, one by one. Happy to send files if that would help figure out the problem.
I got the same error. When I viewed the file in Notepad++ I noticed that it was one long line. There were no carriage return line feeds (CRLF) in the document.

I opened it in Wordpad and saved it. I then viewed it in Notepad++ and all of the CRLF were in place as I would have expected to see them the first time. This time the file converted just fine.

I bet you could modify the info in this thread to convert all of your RTF files to ePub. The thread explains how to do batch conversions of .doc files to epubs using free tools. If you switch the extension from .doc to .rtf the batch conversions should run fine. Specifically check out posts 23, 49 and 56.
DoctorOhh is offline   Reply With Quote