To create a minimal CS Help rich-text source file using Microsoft Word:
Copy the CS Help template cshelp.dot
to the Microsoft Office template directory (from \epoc32\cshlpcmp_template\cshelp.dot
).
Do File | New
, and select the cshelp
template.
Replace the Heading 1
style marked text “Category” with the name of your application.
Replace the Category UID
style marked text “0x01000000” with the UID of your CS Help file.
Replace the Heading 2
style marked text “Topic text” with the heading for your first topic.
Replace the synonyms, context or indexes as necessary, marked up using the appropriate styles.
Replace the Normal
style marked text “Text for topic” with your topic text.
Below the last of the topic text, mark up text for subsequent topic titles and body text using Heading 2
and Normal
styles.
Do File | Save As
, and select Rich Text Format (*.rtf)
as the type of file.
To create a CS-Help project file:
Copy an existing project file e.g. \CsHelp\project\CsHelpProj.cshlp
Change fields to reflect the structure of the current project.
A customisation file can be created to specify the appearance of the help file, including the font used for text, its size, and the appearance of tip, important and note effects. If no customisation file is specified, a default appearance is applied.
To run the CS Help compiler:
bring up a command prompt, or MS-DOS window
ensure that all source files have been saved
type cshlpcmp
project-file.
xml
for help file output. Note that the project-file
must include the extension .cshlp
or .xml
.
inspect the output on the emulator