#### 18.13.1 Directing DITA2Go to run the HTML Help compiler

When you specify the following options in the configuration file, DITA2Go automatically runs the HTML Help compiler after generating output files:

    [Automation]
    WrapAndShip = Yes
    CompileHelp = Yes

For large projects, you might want to stick with CompileHelp=No; then after DITA2Go finishes the conversion, compile directly from HTML Help Workshop. Otherwise you might encounter memory limitations when DITA2Go tries to run the compiler.

If the HTML Help compiler is not on your system PATH, you must tell DITA2Go where to find it. For example:

    [MSHtmlHelpOptions]
    ; Compiler = path to hhc.exe, not required if its directory is in the
    ; system PATH environment variable.
    Compiler = D:\hh\hhc

To have DITA2Go copy the .hhp file to another directory for compiling, specify the following:

    [Automation]
    WrapAndShip=Yes
    ; WrapPath = path to dir for compiling and distribution,
    ;  default is output dir
    WrapPath = .\help

See §44.6 Assembling files for distribution.

See also:

§16.2.2 Compiling and distributing Help systems

§18.3.9 Locating graphics files for HTML Help

Previous Topic: 18.13 Compiling and testing HTML Help

Next Topic: 18.13.2 Copying output files and compiling later

Parent Topic: 18.13 Compiling and testing HTML Help

Sibling Topics:

18.13.2 Copying output files and compiling later

18.13.3 Compiling in a different language

18.13.4 Registering your HTML Help system for network use