Quote:
Originally Posted by Jonnster
Would it be worth me taking the HTML from the input folder of the Calibre debug, converting it to CHM and then converting to mobi? If so how do I create the CHM?
|
This is what I was trying to tell you before, but you don't need to convert it to CHM. Take the input.html file from the input directory, open it in text/html editor, and massage the html as you see fit. Then import the html file back to Calibre - no need to convert it to CHM - and then convert from HTML to Mobi.
Note that fixing the html input document up will require a major amount of effort though. You'll need to unwrap lines yourself, and it would be a good idea to manually put the code block in <pre> tags as itimpi just described.