Issue

How to merge CHM files.

Solution

NOTE: In order for your external indexes to display, you need to have at least one keyword (index entry) in the Index of the Master CHM.

NOTE: These instructions are for Version 7. Functionality for Merging Chm files from within RoboHelp is available in Version 2000 and Version 9

Version 7:

  1. Copy the CHM for each external project into the master project folder.

  2. Open the .HHC file for the Master Project in Notepad. Refer article #11459, "How to edit files in Notepad" for information on doing this.

  3. Enter the code below for each of the External Projects. The code needs to be inserted at the bottom of the .HHC file and above the closing </HTML> tag. Duplicate the code for each external project. Don't forget to replace the "Project.CHM" and the "Project.HHC" with the name of each of your .CHM and .HHC files.

<OBJECT type="text/sitemap">

<param name="Merge" value="project.chm::/project.hhc">

</OBJECT>

  1. Close and save the .HHC file.

  2. Open the master project in RoboHelp HTML.

  3. Click File.

  4. Click PROJECT SETTINGS.

  5. Click the "Index" tab.

  6. Put a check in the Binary Index check box.

  7. Click the Compile tab.

  8. Add each of the external .CHM files to the "Merged Files" box.

  9. Close the Project Settings dialog box.

  10. Save and compile the master project.

  11. Open the .HHP for the master project in Notepad.

  12. Under the [MERGE FILES] section, remove the path statement to each .CHM, leaving only the name of the .CHM.

NOTE: You will need to use the Microsoft HTML Help Workshop to do the final compile of the master project. The HTML Help Workshop can be found on the Microsoft Web Site. Make sure all the .CHM files are in the same directory.

Version 2000:

  1. Assign the "Binary Index" option to the master project (The secondary .CHM files do not have to be in binary format.):

  2. Click FILE from the RoboHelp menu bar.

  3. Click PROJECT SETTINGS.

  4. Click on the "Index" tab.

  5. Make sure that the "Binary Index" option is checked.

  6. Add the secondary .CHM files to the master project:

  7. Click FILE from the RoboHelp menu bar.

  8. Click PROJECT SETTINGS.

  9. Click on the "Advanced" tab.

  10. Click the Add button to add each .CHM file.

  11. Add a book at the top level of the table of contents in the master project.

  12. Add the external TOC files to the new book:

  13. Right-click in the TOC Window.

  14. Select NEW.

  15. Select EXTERNAL TOC.

  16. Select the secondary .CHM file and its .HHC file.

  17. Click "OK"

NOTE: You will need to use the Microsoft HTML Help Workshop to do the final compile of the master project. The HTML Help Workshop can be found on the Microsoft Web Site. Make sure all the .CHM files are in the same directory.

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy