TF - a text formatter.

Syntax:

tf infile [infile]* [option]* [>outfile]
Diversion1=filename ...  Diversion9=filename
Diversion=filename       (+|-)FormFeed (+)
PageSkip=nn              (+|-)Warnings (+)
(+|-)Pause (-)           (+|-)PageFormat (+)
PageOffset=nn (0)        "request"

Examples:

tf myfile
tf * >/out
tf * >/out di=index
tf * >/out di=ind di1=ind1
tf in1 in2 in3 +paus pskip=3

Options:

infile
specifies the name of the file to be formatted. If several input files are specified, they will be processed in the order they appear on the command line.
Diversion=filename
is used to specify the name of the zeroth (standard) diversion file. If not given, any TF output to the diversion file vanishes.
Diversion1=filename, Diversion2=filename, ..., Diversion9=filename
allow you to specify extra diversion files. If output is sent to an diversion file which was not specified on the command line, the output is sent to the standard diversion file (see above).
-FormFeed
suppresses the generation of form feeds when formatting to a file.
+Pause
causes TF to pause between pages on output. This is useful when sending output to a terminal on separate sheets. After inserting the new sheet of paper, press carriage return to continue.
-PageFormat
automatically sets ".m1 0", ".m2 0", ".m3 0", ".m4 0", ".sl 0", and ".pl 0". These options ensure that the output will be one long unpaginated block of text. "-PageFormat" implies "-FormFeed".
PageSkip=nn
tells TF not to print the first "nn" pages of output, where "nn" is some integer.
PageOffset=nn
has the effect of placing a ".po nn" request at the very beginning of your input.
-Warnings
tells TF not to print warning messages. Normally, TF prints messages when certain logical impasses are reached.
"request"
is a standard TF request, e.g.
tf file ".an (reg) 1"

This request will be treated as the first statement in the source file. This feature is convenient for conditional formatting.

Description:

TF is a text formatting program descended from ROFF. It allows virtually unlimited macro recursion and has a greatly increased maximum macro size.

See Also:

expl tf diff
for differences between TF and ROFF.
expl tf manual
for a complete TF manual.
expl tf summary
for a summary of TF requests.

Copyright © 1996, Thinkage Ltd.