Ablity to render CHM when there is no TOC/.hhc file present:
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The current CHM reader appears to be reliant on the existence and parsing of a Table of Contents (TOC), a file named <something>.hhc
However in the examples we have received from our user, there is no TOC/.hhc file present:
When I try to open the above file using Calibre (having attempted to convert it to EPUB first), it basically seems to try to open the CSS file as if that were the main content:
.
In the example above all of the HTML (i.e. the actual content) files can be found in the ‘gca’ directory .
Note that the default Windows application, HH.exe has no problem working with the files our customer has provided, so we know the files to be otherwise sound as far as the core CHM structure is concerned.
Fixed in branch master. The fix will be in the next release. calibre is usually released every alternate Friday.