Copy link to clipboard
Copied
When generating the .chm file directly from FM 2019, how can I get the .hhc file?
It's needed when merging several chm files into one complete documentation set. (Some of chm files aren't even FM generated.)
I have now found that I don't need the extracted hhc file!
7-zip can list the chm file's contents, including the name of its embedded hhc file. (Which seems to always be the same, TPubTemp.hhc.)
That file can then be directly referenced from my global hhc file:
<OBJECT type="text/sitemap">
<param name="Merge" value="mimjdbc.chm::\TPubTemp.hhc">
</OBJECT>
Copy link to clipboard
Copied
I have now found that if I use HTML Help Workshop to decompile a chm file, it will give me the hhc file.
However, it would be convenient if I could get it directly from FM when publishing the chm file. (It would minimize the risk of me mixing up files, or forgetting to extract a new hhc each time I generate a chm file.)
Copy link to clipboard
Copied
It's probably hiding in one of the temp locations that FM will use to assemble the files before creating the output - it may not survive the publishing process. You could always log a request in the Tracker to have an option added to save it.
Copy link to clipboard
Copied
I have searched the whole disk, and FM leaves no hhc file after creating the chm file.
How do I _log a request in the Tracker_?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
I have now found that I don't need the extracted hhc file!
7-zip can list the chm file's contents, including the name of its embedded hhc file. (Which seems to always be the same, TPubTemp.hhc.)
That file can then be directly referenced from my global hhc file:
<OBJECT type="text/sitemap">
<param name="Merge" value="mimjdbc.chm::\TPubTemp.hhc">
</OBJECT>