Adding Multiple HTML Help Header Files
Last Modified: July 12, 2006
ePublisher Pro
The purpose of this article is to explain how to add multiple Microsoft HTML Help header files (.h extension) to a WebWorks ePublisher Pro Project.
Some project modifications cannot be made through the GUI so we have created this article to provide steps for adding multiple Microsoft HTML Help header files by using project target overrides. When you create a project target override you are only overriding the specific file that you want to modify; you are also ensuring that these modifications are not lost when installing updates to ePublisher Pro.
Creating a target override for template.hhp
To create a target override, we will first choose an existing format target in our project. Next, we will create a directory structure that mirrors the directory path to the file that we will be overriding.
Please follow these instructions to create target overrides:
2) |
Go to View > User Files. |
3) |
Navigate up one level to the same directory where your .wep ePublisher Pro project file is located. |
4) |
Create a new folder named Targets. |
|
The directories ePublisher Pro looks for are case-sensitive. Be sure to type the folder names exactly the way they are typed in the installation directory structure. |
5) |
Open the Targets directory you just created. |
6) |
Create a new folder and assign it the name of the Format Target you have selected in your project. |
7) |
Open the Format Target directory you just created. Leave this window open. |
8) |
Open a new window and navigate to the Microsoft HTML Help 1.x folder located within the Targets directory where you installed WebWorks ePublisher Pro. By default, it is located in |
9) |
Open the Pages folder. |
10) |
Navigate to the |
11) |
Within the Targets directory that you created in step 5, recreate the directory path that leads to the file you copied in step 11.Then paste the copied file here. |
For this example, since you are overriding the template.hhp
file for your new format target based on the Microsoft HTML Help 1.x format, you would create within your new Targets
directory a new folder called Pages
, and paste the copied file here.
|
It is not necessary to copy any files into the project |
Modifying the HTML Help Project File
1) |
Open the |
2) |
Change the |
[MAP]
#include "MyHeader1.h"
#include “MyHeader2.h”
#include “MyHeader1000.h”
3) |
When you are finished adding your files, save the |
4) |
When you save the ePublisher Pro project as Stationery, the Project Target Overrides you have created will be saved in your Stationery. |
5) |
This stationery can then be used to create future projects, thus maintaining these modifications throughout your future projects. |
Adding Multiple Header Files to ePublisher Pro
2) |
Go to View > User Files. |
5) |
Go to Project > Generate All. |