Ablity to render CHM when there is no TOC/.hhc file present:

Bug #2056470 reported by Peter Anderton
6
This bug affects 1 person
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.

Tags: chm
Revision history for this message
Peter Anderton (panderton) wrote :
Revision history for this message
Kovid Goyal (kovid) wrote :

Fixed in branch master. The fix will be in the next release. calibre is usually released every alternate Friday.

Changed in calibre:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.