PS TEXT FORMAT Reference Manual

Introduction to TFORM
3–148 11387 Tandem Computers Incorporated
STYLE SENTENCES Options
The SENTENCES options allow you to specify the number of spaces
that follow output sentences. SET JOIN ON must be in effect for this
feature to work.
When joining is on, TFORM looks for sentence endings so that it can
adjust the spacing following each sentence. TFORM uses the following
algorithm to identify a sentence ending.
1. A word is followed by a period, colon, question mark, or exclamation
point. “Word” is defined as two or more lowercase letters, unless
uppercase is specified.
2. The punctuation marks in item 1 above are followed by an additional
punctuation character in this set
"')]}>/\
This character is optional.
3. The punctuation marks in items 1 or 2 above are followed by at least
one space and a capitalized word, or by the end of the input line (the
capitalized word is not required in the case of a colon, but otherwise
this condition is mandatory). One of the characters in the
set " ’ ( [ { < / $ % can optionally precede the capitalized word.
STYLE SENTENCES
int
This command tells TFORM to follow sentences with
int
spaces,
regardless of the number of sentence-separating spaces in the input
file. The value of
int
must be 0, 1, or 2.