tspell
Description
Performs a spell check.
Example 59. Check the spelling of a selected word
To look up the spelling of a word, you could use the macro shown below, where 'word' is the word that you want to look up.
tspell 0, "word"
Example 60. Check the spelling of a particular word selected by the text selection macro
You can restrict spell checking to a particular word or paragraph by preceding the tspell macro with a text selection macro, e.g.
ttpara:tspell 6
Syntax
tspell batch_mode:n? stream_name:t? ( mode:n string:s? )
tspell
[no parameter]
|
Check the current stream from the start
|
batch_mode
|
Ø
|
Normal mode
|
2
|
Batch mode
|
|
stream_name
|
The name of the text stream to be checked.
Ø
|
Check current stream
|
0
|
Check 1 word (enter word to be checked in string)
|
1
|
Check all streams
|
5
|
Review 'leave' words
|
6
|
Check selected text
|
7
|
Check current stream from cursor
|
9
|
Thesaurus
|
Stream codes or, where mode has a value of 0, a word to look up.
t
|
Normal text tags
|
s
|
Style tags
|
r
|
Reference tags
|
g
|
Graphic text tags
|
b
|
Bullet tags
|
f
|
Footnote tags
|
e
|
Exception dictionary tags
|
i
|
Index stream tags
|
c
|
Contents stream tags
|
m
|
Comment stream tags
|
s
|
Script tags
|
d
|
Dictionary tags
|
U
|
Fonts
|
u
|
Truetype fonts
|
x
|
All tags
|
|
mode
|
Ø
|
Check current stream
|
0
|
Check 1 word (enter word to be checked in string)
|
1
|
Check all streams
|
5
|
Review 'leave' words
|
6
|
Check selected text
|
7
|
Check current stream from cursor
|
9
|
Thesaurus
|
|
string
|
A single word to be looked up
|
Related Links