BSD 3 development
[unix-history] / usr / doc / eqn / g5
CommitLineData
8340f87c
BJ
1.SC "Use on UNIX"
2.PP
3To print a document that contains mathematics on
4the
5.UC UNIX
6typesetter,
7.P1
8eqn files | troff
9.P2
10If
11there are any
12.UC TROFF
13options, they go after the
14.UC TROFF
15part of the command. For example,
16.P1
17eqn files | troff -ms
18.P2
19To run the same document on the
20.UC GCOS
21typesetter, use
22.P1
23eqn files | troff -g (other options) | gcat
24.P2
25.PP
26A compatible version of
27.UC EQN
28can be used on devices like teletypes and
29.UC DASI
30and
31.UC GSI
32terminals
33which have half-line forward and reverse capabilities.
34To print
35equations on a Model 37 teletype, for example, use
36.P1
37neqn files | nroff
38.P2
39The language for equations recognized by
40.UC NEQN
41is identical to that of
42.UC EQN,
43although of course the output is more restricted.
44.PP
45To use a
46.UC GSI
47or
48.UC DASI
49terminal as the output device,
50.P1
51neqn files | nroff -T\fIx\fP
52.P2
53where
54.ul
55x
56is the terminal type you are using,
57such as
58.ul
59300
60or
61.ul
62300S.
63.PP
64.UC EQN
65and
66.UC NEQN
67can be used with the
68.UC TBL
69program[2]
70for setting tables that contain mathematics.
71Use
72.UC TBL
73before
74.UC [N]EQN ,
75like this:
76.P1
77tbl files | eqn | troff
78tbl files | neqn | nroff
79.P2
80.SC "Acknowledgments"
81.PP
82We are deeply indebted to J. F. Ossanna,
83the author of
84.UC TROFF ,
85for his willingness to extend
86.UC TROFF
87to make our task easier,
88and for his
89continuous assistance during the development
90and evolution
91of
92.UC EQN .
93We are also grateful to A. V. Aho
94for advice on language design,
95to S. C. Johnson for assistance with
96the
97.UC YACC
98compiler-compiler,
99and to all the
100.UC EQN
101users
102who have made helpful suggestions and criticisms.
103.SH
104References
105.LP
106.IP [1]
107J. F. Ossanna,
108.UC NROFF/TROFF \& ``
109User's Manual'',
110Bell Laboratories Computing Science Technical Report
111#54, 1976.
112.IP [2]
113M. E. Lesk,
114``Typing Documents on
115.UC UNIX '',
116Bell Laboratories, 1976.
117.IP [3]
118M. E. Lesk,
119.UC TBL \& ``
120\(em A Program for Setting Tables'',
121Bell Laboratories Computing Science Technical Report #49,
1221976.