9-Oct-2003: Since installing HHCtrl.ocx Version
5.2.3735.x this technique fails. The Indexes are not merged.
Instead see the new solution at: How_to_merge_ctx2.htm.
We all know how to set up our projects for Context calls from the main application (if you don't then see how_to_context.htm). People tend to come unstuck with merged help systems. ie. Linking to a slave topic using context Ids. In how_tomerge.htm#ContextHelpIDs we suggested adding a mapping section to the master.hhp like master.chm/slave.chm/path. However Laurence Farrugia reports that although this worked, it broke the TOC autosync.
| [ALIAS] IDH_GlossPage=ms-its:master.chm::/SlaveA.chm::/html/gloss.htm |
Marc Islam (MS Program Manager, Microsoft NUI Help) explored the problem for us and posted this excellent solution to the authoring newsgroup. It involves using Global Window Types and duplicating the WINDOWS, MAP and ALIAS sections across all HHP files.
| From: Marc Islam[MSFT] Organization: Microsoft Date: Wed, 20 Aug 2003 18:12:24 GMT Subject: RE: Autosynchronize TOC in merge doesn't work Message-ID: <UNZ9ea0ZDHA.396@cpmsftngxa06.phx.gbl> Newsgroups: microsoft.public.helpauthoring <snip> I was able to get both Context IDs and Autosync to work using Global Window definitions, as discussed on Step 4 of http://www.helpware.net/htmlhelp/how_to_merge.htm#step%204
|
Tip: A small improvement we added to our demo (download link above) was to use #include statements in the [MAP] and [ALIAS] sections so that all .HHP files were forced to use identical Mapping info.
Marc continues on to explain why TOC autosync breaks using ID_SLAVE1=ms-its:master.chm::/slave.chm::/topic.htm.
| ADDING MASTER.CHM TO THE URL IN THE ALIAS SECTION
As a review for others, check out : |