View Single Post
Old 06-22-2011, 06:03 AM   #5
MacEvansCB
Enthusiast
MacEvansCB began at the beginning.
 
Posts: 25
Karma: 10
Join Date: Nov 2010
Location: Somewhere in Iowa
Device: Nook Color
Solution Found

Well now I'm really confused.
There is no message to send.
Note that when I get the incomplete RTF file, there are no errors or messages. Caibre does the conversion and ends normally.

As I said, I did two conversions, EPUB and RTF. The resulting debug folders are identical. Each folder has a number of index.html files, each containing a complete copy of the eBook that opens perfectly in Firefox.

I started getting suspicious. I changed the extension of the RTF file to TXT and opened it as a plain text file. The whole novel was there along with all the RTF tags. I turned on invisible characters and looked at the place where the RTF was ending. Nothing. Just normal paragraph break tags.

This blows me away. It appears that Calibre does a complete conversion. Yet there's something weird with the resulting RTF file.I've opened the RTF file in three different apps: MS Word, Apple Pages and Apple TextEdit. And all three apps truncate the file at the exact same place ... no errors ... no messages ... nothing. I have not run into anything like this in over a couple of hundred file conversions.

So ... anyway ... since the debug html index files contain a complete copy of the formatted text, I was able to just cut and paste from Firefox to Apple Pages and I now have a complete editable file: problem solved.
MacEvansCB is offline   Reply With Quote