Quote:
Originally Posted by MacEvansCB
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.
|
Well! That was not the 'easy way', but it works.
If you have a file 'Hex editor', you might look at it that way to see if a "EOF" control character crept in at that point.