Copy the CHM for each external project into the master project folder.
Issue
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. These instructions are for Version 7. Functionality for Merging Chm files from within RoboHelp is available in Version 2000 and Version 9.
Version 7:
-
-
Open the .HHC file for the Master Project in Notepad. Refer article #11459, "How to edit files in Notepad" for information on doing this.
-
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>
-
Close and save the .HHC file.
-
Open the master project in RoboHelp HTML.
-
Click File.
-
Click Project Settings.
-
Click the Index tab.
-
Put a check in the Binary Index check box.
-
Click the Compile tab.
-
Add each of the external .CHM files to the Merged Files box.
-
Close the Project Settings dialog box.
-
Save and compile the master project.
-
Open the .HHP for the master project in Notepad.
-
Under the [MERGE FILES] section, remove the path statement to each .CHM, leaving only the name of the .CHM.
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:
-
Assign the "Binary Index" option to the master project (The secondary .CHM files do not have to be in binary format.):
-
Click File from the RoboHelp menu bar.
-
Click Project Settings.
-
Click on the Index tab.
-
Make sure that the Binary Index option is checked.
-
Add the secondary .CHM files to the master project:
-
Click File from the RoboHelp menu bar.
-
Click Project Settings.
-
Click on the Advanced tab.
-
Click the Add button to add each .CHM file.
-
Add a book at the top level of the table of contents in the master project.
-
Add the external TOC files to the new book:
-
Right-click in the TOC Window.
-
Select NEW.
-
Select External TOC.
-
Select the secondary .CHM file and its .HHC file.
-
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.