33.8 Gathering and compiling Help-system files
Most Help systems require additional steps after Mif2Go generates output files from your FrameMaker document, and before archiving files for distribution. You can have Mif2Go automatically do the following:
Run the WinHelp compiler; see §7.1.11 Compiling a WinHelp project. |
|
Run the HTML Help compiler; see §8.2.10 Compiling and testing an HTML Help project. |
|
Copy viewer files to the WrapPath folder (needed only if they are not already in the output folder); see §9.13 Assembling OmniHelp files for viewing. |
|
Run the full-text-search indexing program; see §10.4.2 Creating a search index for JavaHelp. |
|
Run the full-text-search indexing program (although you might not get a usable search index); see §10.4.3 Creating a search index for Oracle Help. |
|
Archive topic files into doc.zip; see §11.7 Packaging Eclipse Help files. |
Certain automation settings are activated
When CompileHelp=Yes or FTSCommand=command\to\run\indexer, Mif2Go acts on those [Automation] settings that need to be processed prior to compilation or indexing, regardless of the setting for WrapAndShip. Then Mif2Go runs the appropriate compiler or indexer. Table 33-4 shows which settings are activated.
Table 33-4 Automation settings activated by CompileHelp or FTSCommand
Assemble files without compiling or indexing
When CompileHelp=No (the default for WinHelp and HTML Help), or FTSCommand is not specified for JavaHelp or Oracle Help, you must run the compiler or indexer separately. If WrapAndShip=Yes, uncompiled or unindexed Help-system files are assembled for distribution; see §33.2 Activating and logging production of deliverables. You might use this combination for WinHelp if you are sending files to be branded by a subcontractor, or to be integrated with other WinHelp systems. For HTML Help, you might send uncompiled files for use on a server.
Assembling and archiving are optional
For WinHelp or HTML Help you can get away without specifying WrapPath for compiled Help output, because the compiler relies on a list of files to include in the compilation. Omitting WrapPath avoids creating a duplicate set of output files in a second folder. Also, archiving is not always necessary for compiled Help, because compilation itself creates a compressed deliverable.
Convert first, compile and archive later
Having Mif2Go run either Help compiler as part of the conversion can be problematic for large projects. Instead, you can do the conversion as a first step, then run Mif2Go again to compile and prepare the deliverable; see §33.12 Postprocessing separately from converting.
> 33 Producing deliverable results > 33.8 Gathering and compiling Help-system files
