• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

[MERGE FILES] section of HHP file

Participant ,
Jun 23, 2008 Jun 23, 2008

Copy link to clipboard

Copied

We are trying to merge several HTML Help projects, and have everything working except for one thing. The [MERGE FILES] section of the HHP file is incorrect, which means that the Index and Search functions do not work fully.

When we generate the CHM files the [MERGE FILES] section of the HHP file seems to be overwritten with data from section <mergedhelpfiles> in the XPJ file; but the filenames from the XPJ are converted into absolute paths in the HHP and thus the resulting CHM is not portable. If there are no entries in the <mergedhelpfiles> section of the XPJ file then the [MERGED FILES] section of the HHP is deleted.

Does anyone know the relationship between these two sections? We are using Robohelp 7.02.001 under Windows XP, not on a network drive.

Views

1.3K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 23, 2008 Jun 23, 2008

Copy link to clipboard

Copied

It is not unknown for the [MERGE FILES] section of the HHP file to get out of sync in previous versions. I can't really speak for RH7. You could try renaming the project's CPD file, manually amend the HHP file and reopen the master project and compile.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 23, 2008 Jun 23, 2008

Copy link to clipboard

Copied

Thanks for the idea Colum, but I had already tried zapping the CPD (Causes Problems Daily).
Others have had this problem; see for example this post which suggests editing the HHP and recompiling.

Robohelp only updates the HHP when it thinks a real change has been made; that is why double-compiling works. But that is not an option for automated generation. BTW we do not use source control.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 24, 2008 Jun 24, 2008

Copy link to clipboard

Copied

Progress report; we have half a solution. I edited the HHP file to use filenames rather than paths, deleted the XPJ and CPD files, and then recreated the project from the HHP file. Of course I then had to remake my conditional build tags and single source layouts, but it worked. That is, both the XPJ and the HHP have filenames rather than paths in the merge section. Further, if I remove the [MERGE FILES] section of the HHP, it is restored with the data from the XPJ.

But (I said "half a solution") when we use batch compiling (Robohelp's rhcl command) it all ends in tears. Robohelp converts the HHP file to use absolute paths before compiling. If I then do a compile from within Robohelp, the HHP file is restored to filenames.

Can anyone help further?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 25, 2011 Aug 25, 2011

Copy link to clipboard

Copied

LATEST

I solved this problem by making sure that the source folder for the parent Help file includes the latest child Help files. This resolved this problem for me. If you write new content in a child chm file that is not in the parent's source folder when the parent is built, the new content will not be found.

So, make sure the latest child1.chm, child2.chm, child3.chm etc files are in the parent's source folder. That fixed it for me. No need to delete the XPJ file, CBD file etc. You do need to make sure that the [MERGE FILES] section in the HHP file does not include the paths though.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp