BSD 4_2 development
[unix-history] / usr / doc / summary / vhel3
CommitLineData
028e5044
C
1.NH
2Text Processing
3.NH 2
4Document Preparation
5.LP
6.sh ED
7Interactive context editor.
8Random access to all lines of a file.
9.op
10Find lines by number or pattern.
11Patterns may include:
12specified characters,
13don't care characters,
14choices among characters,
15repetitions of these constructs,
16beginning of line,
17end of line.
18.op
19Add, delete, change, copy, move or join lines.
20.op
21Permute or split contents of a line.
22.op
23Replace one or all instances of a pattern within a line.
24.op
25Combine or split files.
26.op
27Escape to Shell (command language) during editing.
28.ne3
29.op
30Do any of above operations on
31every pattern-selected line in a given range.
32.OP
33Optional encryption for extra security.
34.sh PTX
35Make a permuted (key word in context) index.
36.sh SPELL
37Look for spelling errors by comparing each word in a
38document against a word list.
39.OP
4025,000-word list includes proper names.
41.OP
42Handles common prefixes and suffixes.
43.OP
44Collects words to help tailor local spelling lists.
45.sh LOOK
46Search for words in dictionary that begin with specified prefix.
47.sh CRYPT
48Encrypt and decrypt files for security.
49.NH 2
50Document Formatting
51.LP
52.sh TROFF
53.sh NROFF
54Advanced typesetting.
55TROFF drives a Graphic Systems phototypesetter;
56NROFF drives ascii terminals of all types.
57This summary was typeset using TROFF.
58TROFF and NROFF are capable of elaborate
59feats of formatting,
60when appropriately programmed.
61TROFF and NROFF accept the same input language.
62.op
63Completely definable page format keyed to dynamically planted
64``interrupts'' at specified lines.
65.op
66Maintains several separately definable typesetting environments (e.g., one for
67body text, one for footnotes, and one for unusually elaborate
68headings).
69.op
70Arbitrary number of output pools can be combined at will.
71.op
72Macros with substitutable arguments, and macros invocable
73in mid-line.
74.op
75Computation and printing of numerical quantities.
76.op
77Conditional execution of macros.
78.op
79Tabular layout facility.
80.op
81Positions expressible in inches, centimeters, ems, points,
82machine units
83or arithmetic combinations thereof.
84.op
85Access to character-width computation for unusually difficult
86layout problems.
87.op
88Overstrikes, built-up brackets, horizontal and vertical line drawing.
89.op
90Dynamic relative or absolute positioning and size selection,
91globally or at the character level.
92.op
93Can exploit the characteristics of the terminal being used,
94for approximating special characters, reverse motions,
95proportional spacing, etc.
96.LP
97The Graphic Systems typesetter has a
98vocabulary of several 102-character fonts (4 simultaneously)
99in 15 sizes.
100TROFF provides
101terminal output for rough sampling of the product.
102.LP
103NROFF will produce multicolumn output on terminals capable of reverse line feed,
104or through the postprocessor COL.
105.LP
106High programming skill is required to exploit the formatting
107capabilities of TROFF and NROFF, although unskilled personnel can easily be trained
108to enter documents according to canned formats
109such as those provided by MS, below.
110TROFF and EQN are essentially identical to NROFF and NEQN
111so it is usually possible to define interchangeable
112formats to produce
113approximate proof copy on terminals
114before actual typesetting.
115The preprocessors MS, TBL, and REFER are fully compatible
116with TROFF and NROFF.
117.sh MS
118A standardized manuscript layout package
119for use with NROFF/TROFF.
120This document was formatted with MS.
121.op
122Page numbers and draft dates.
123.op
124Automatically numbered subheads.
125.op
126Footnotes.
127.op
128Single or double column.
129.op
130Paragraphing, display and indentation.
131.op
132Numbered equations.
133.sh EQN
134A mathematical typesetting preprocessor for TROFF.
135Translates easily readable formulas, either in-line or displayed, into
136detailed typesetting instructions.
137Formulas are written in a style like this:
138.DS
139sigma sup 2 ~=~ 1 over N sum from i=1 to N ( x sub i \- x bar ) sup 2
140.DE
141which produces:
142.EQ
143sigma sup 2 ~=~ 1 over N sum from i=1 to N ( x sub i - x bar ) sup 2
144.EN
145.op
146Automatic calculation of size changes for subscripts, sub-subscripts,
147etc.
148.op
149Full vocabulary of Greek letters and special symbols, such as `gamma', `GAMMA', `integral'.
150.op
151Automatic calculation of large bracket sizes.
152.op
153Vertical ``piling'' of formulae for matrices, conditional
154alternatives, etc.
155.op
156Integrals, sums, etc., with arbitrarily complex limits.
157.op
158Diacriticals: dots, double dots, hats, bars, etc.
159.op
160Easily learned by nonprogrammers and mathematical typists.
161.sh NEQN
162A version of EQN for NROFF;
163accepts the same input language.
164Prepares formulas for display on
165any terminal that NROFF knows about,
166for example, those based on Diablo printing mechanism.
167.op
168Same facilities as EQN within graphical capability of
169terminal.
170.sh TBL
171A preprocessor for NROFF/TROFF
172that translates simple descriptions of table layouts
173and contents into detailed typesetting instructions.
174.op
175Computes column widths.
176.op
177Handles left- and right-justified columns,
178centered columns and decimal-point
179alignment.
180.op
181Places column titles.
182.op
183Table entries can be text,
184which is adjusted to fit.
185.op
186Can box all or parts of table.
187.sh REFER
188Fills in bibliographic citations in a document
189from a data base (not supplied).
190.op
191References may be printed in any style,
192as they occur or collected at the end.
193.op
194May be numbered sequentially, by name of author, etc.
195.sh TC
196Simulate Graphic Systems typesetter on Tektronix 4014 scope.
197Useful for checking TROFF page layout before typesetting.
198.sh COL
199Canonicalize files with reverse line feeds
200for one-pass printing.
201.sh DEROFF
202Remove all TROFF commands from input.
203.sh CHECKEQ
204Check document for possible errors in EQN usage.