Merging external CHM files

Issue

How to merge CHM files.

Solution

Poznámka:

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:

  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.

Poznámka:

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

Poznámka:

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.

 Adobe

Získajte pomoc rýchlejšie a ľahšie

Nový užívateľ?