Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

9 Generating Microsoft HTML Help > 9.3 Setting up an HTML Help project > 9.3.8 Specifying a starting topic file for HTML Help


9.3.8 Specifying a starting topic file for HTML Help

By default, Mif2Go puts the name of your FrameMaker document in the .hhp as the name of the first page. If the first page really should be the first split file (see §18 Splitting and extracting files), you must edit the .hhp (either in Notepad or in HTML Help Workshop) to insert the actual name of the first-page file (which might be something like aa123456.htm):

[OPTIONS]

Default topic=realfilename.htm

Also specify the starting topic in configuration file m2htmlhelp.ini:

[MSHtmlHelpOptions]

; DefaultTopicFile = starting topic file name (no extension)

DefaultTopicFile=realfilename

Then if your .hhp is rewritten, it will have the correct value.

After compiling your project, if you open the .chm in HTML Help and the first page produces an error such as “This page cannot be displayed”, you might have to edit the .hhp to specify the correct name for the first-page file.



9 Generating Microsoft HTML Help > 9.3 Setting up an HTML Help project > 9.3.8 Specifying a starting topic file for HTML Help