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