Content Pipeline Guide > ACL Reference > Interactive and Batch Publishing Functions > Interactive Functions > compose_htmlhelp
  
compose_htmlhelp
compose_htmlhelp ([doc])
The compose_htmlhelp interactive function publishes a document as HTML Help output (.chm). This function assumes the DCF file defines an htmlhelp composer.
The doc parameter specifies the document to process. If doc is not specified, the current document is used.
This function returns the following values:
Value
Description
-1
The publishing process was cancelled.
0
An error occurred.
1
The publishing process completed successfully.
* 
The File > Publish > For HTML Help menu option uses this function. Publishing parameters are entered in the Publish for HTML Help dialog box.