View Single Post
Old 08-10-2011, 06:02 PM   #10
R&W
Junior Member
R&W began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Aug 2011
Device: Sony PRS-350
Post

Quote:
Originally Posted by Toxaris View Post
What you can do is transform the CHM back to HTML and create the ePUB by hand.
OK, but how to do this, what tools to use?

I try to do this by extracting files from chm, than take "page.htm" file (small one) and put it in Calibre and convert it to ePUB. As a result I get a relatively large file (12mb) with many-many blank pages (except preface and authors). But this result was better than from original .CHM file, when I get only 3 pages ePUB.

When debugging - I find one interesting thing: when converting .chm -"processed" (maybe also "parsed" and "structure") folder was very small comparing with "input" folder so I get 3 pages epub, while converting "page.htm" (<300kb)- "processed", "structure" and "parsed" folders had the same size as "input" folder (all were ~50mb). So if 50mb is processed why I get a 12mb book without content? Is there a problem with output plugin?

P.S. in all cases I use "linearize tables" option in the last - v.0.8.13 Calibre.
Is there something better for conversions?
R&W is offline   Reply With Quote