Question
Merge Files details disappearing from HHP file
I've looked in the archives and can't find a solution to this
particular issue, so...
I have RH X5.0.2 on Windows XP SP2, and I'm working, on a local drive, with a master CHM file and several slave files. As an example:
Master_file.chm
Slave1.chm
Slave2.chm
Slave_File3.chm
Slave_File4.chm
Some slave file names contain an underscore, some don't. This seems to be important...
Recently, some of the hyperlinks between the master file and slave files simply stopped working - I got a "This webpage cannot be displayed" HTML error page. Turned out that the links to the slave files without underscores in the title carried on working fine, but the links to files with underscores were all broken. Unfortunately I'm not allowed to change the file names.
It further transpired that the [MERGE FILES] section of the master HHP file was completely disappearing at compile time - when this section is put back in manually and the master CHM recompiled, everything works fine. However, if I make one change to any hyperlink between a master and a slave file (even a cosmetic change, such as changing a letter from upper to lower case), the [MERGE FILES] section disappears again next time the CHM is compiled.
I've deleted and re-created the CPD file; it makes no difference. I've re-merged the slave files: no difference. Obviously we have a manual workaround, but I wondered if anyone might know how to prevent the issue in the first place?
Thanks,
Sarah
I have RH X5.0.2 on Windows XP SP2, and I'm working, on a local drive, with a master CHM file and several slave files. As an example:
Master_file.chm
Slave1.chm
Slave2.chm
Slave_File3.chm
Slave_File4.chm
Some slave file names contain an underscore, some don't. This seems to be important...
Recently, some of the hyperlinks between the master file and slave files simply stopped working - I got a "This webpage cannot be displayed" HTML error page. Turned out that the links to the slave files without underscores in the title carried on working fine, but the links to files with underscores were all broken. Unfortunately I'm not allowed to change the file names.
It further transpired that the [MERGE FILES] section of the master HHP file was completely disappearing at compile time - when this section is put back in manually and the master CHM recompiled, everything works fine. However, if I make one change to any hyperlink between a master and a slave file (even a cosmetic change, such as changing a letter from upper to lower case), the [MERGE FILES] section disappears again next time the CHM is compiled.
I've deleted and re-created the CPD file; it makes no difference. I've re-merged the slave files: no difference. Obviously we have a manual workaround, but I wondered if anyone might know how to prevent the issue in the first place?
Thanks,
Sarah
