Prev Next Index-> contents reference index search external Up-> overview get_started start_spell overview-> License why Install get_started running files titles+headings cross format spellchecking latex other browser glossary wish_list whatsNew get_started-> start_simple start_head start_image start_pre start_font start_spell start_latex start_verbatim start_src start_embed start_multiple start_cref start_index start_spell-> spell_example Headings-> word spell Execute The Following Steps ---..spell_example.omh ---..Example In This Web Site Context ---..Execute OMhelp ---..Example by Itself

Spelling Command Example

word
In OMhelp, a word starts either with an upper case letter or a lower case letter that is preceded by a non-letter. The words continues to, but does not include, the next upper case letter or non-letter.

spell
The spell command is used to specify special words that are not spelling errors and are not in the dictionary . It is also used to specify repeated words that should not be flagged as errors. (A repeated word is where the same word occurs twice with just white space between occurrences.)

Execute The Following Steps

spell_example.omh
Use an editor of your choice to create the file  spell_example.omh in the test directory with the following contents:       $begin spell_example$$spell Fft not not$$$section Example Spelling Exceptions$$head Misspelled Words$$ The word Fft is not in the dictionary. $head Repeated Words$$The word not is repeated in the sentence pre$$It is not not true.$end  Note that you can copy and paste the commands above to your editor window. You may just copy the file with the same name from the getting started directory .

Example In This Web Site Context
You can view the result of making spell_example.omh part of the OMhelp help web site by selecting spell_example .

Execute OMhelp
In a command window and in the htm directory execute the following command  omhelp ../spell_example.omh -noframe 
Example by Itself
Use a web browser of your choosing to view the file test/htm/spell_example.htm .
Input File: getstarted/start_spell.omh