Quote:
Originally Posted by mjmcleod
To fix the ereader2html.py script itself, open it in a text editor and look for the line that contains:
final = '<html><body>\n'
There should be only one such line.
Change it to read:
final = '<html><head><META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; c
harset=cp1252"/></head><body>\n'
(all one line.)
Now the HTML files it produces will properly declare themselves to be in cp1252 and the Calibre GUI will handle them correctly.
|
Okay, it's my turn.

This fix worked great to put back all the missing punctuation. However, I still have the funky Center Justification and no blank lines between paragraphs (or indents at the beginning of paragraphs). I've tried converting it to both Epub and LRF through Calibre. Is there a fix to the python script (or something I can include in Calibre) that could correct this? Bare in mind that it has been decades (ouch) since I did any programming and no nothing about python. Thanks.