Skip to main content
Almtuna
Inspiring
January 28, 2020
Answered

.hhc file for HTML Help output?

  • January 28, 2020
  • 4 replies
  • 940 views

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.)

 

This topic has been closed for replies.
Correct answer Almtuna

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>

4 replies

Almtuna
AlmtunaAuthorCorrect answer
Inspiring
April 7, 2020

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>
Jeff_Coatsworth
Community Expert
Community Expert
January 29, 2020
Almtuna
AlmtunaAuthor
Inspiring
February 12, 2020

I rasied a request:

https://tracker.adobe.com/#/view/FRMAKER-7812

 

Please, vote for change!

 

Jeff_Coatsworth
Community Expert
Community Expert
January 28, 2020

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.

Almtuna
AlmtunaAuthor
Inspiring
January 29, 2020

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_?

Almtuna
AlmtunaAuthor
Inspiring
January 28, 2020

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.)