\section{Help Files Format}\label{helpformat} wxHTML library uses a reduced version of MS HTML Workshop format. Tex2RTF can produce these files when generating HTML, if you set {\bf htmlWorkshopFiles} to {\bf true} in your tex2rtf.ini file. (See \helpref{wxHtmlHelpController}{wxhtmlhelpcontroller} for help controller description.) A {\bf book} consists of three files : header file, contents file and index file. \wxheading{Header file (.hhp)} Header file must contain these lines (and may contain additional lines which are ignored) : \begin{verbatim} Contents file=@filename.hhc@ Index file=@filename.hhk@ Title=@title of your book@ Default topic=@default page to be displayed.htm@ \end{verbatim} All filenames (including the Default topic) are relative to the location of .hhp file. For larger projects I recommend storing everything but .hhp file into one .zip archive. (The contents file would then be referred to as myhelp.zip\#zip:contents.hhc) \wxheading{Contents file (.hhc)} Contents file has HTML syntax and it can be parsed by regular HTML parser. It contains exactly one list (\verb$$ statement): \begin{verbatim} \end{verbatim} You can modify value attributes of param tags. {\it topic name} is name of chapter/topic as is displayed in contents, {\it filename.htm} is HTML page name (relative to .hhp file) and {\it numeric_id} is optional - it is used only when you use \helpref{wxHtmlHelpController::Display(int)}{wxhtmlhelpcontrollerdisplay} Items in the list may be nested - one \verb$
  • $ statement may contain a \verb$