.\" $Copyright:	$
.\" Copyright (c) 1984, 1985 Sequent Computer Systems, Inc.
.\" All rights reserved
.\"  
.\" This software is furnished under a license and may be used
.\" only in accordance with the terms of that license and with the
.\" inclusion of the above copyright notice.   This software may not
.\" be provided or otherwise made available to, or used by, any
.\" other person.  No title to or ownership of the software is
.\" hereby transferred.
...
. \" $Header: g5 1.3 86/03/06 $
.SC "Use on UNIX"
.PP
To print a document that contains mathematics on
the
.UC UNIX
typesetter,
.P1
eqn files | troff
.P2
If
there are any 
.UC TROFF
options, they go after the
.UC TROFF 
part of the command. For example,
.P1
eqn files | troff -ms
.P2
To run the same document on the
.UC GCOS
typesetter, use
.P1
eqn files | troff -g (other options) | gcat
.P2
.PP
A compatible version of
.UC EQN
can be used on devices like teletypes and
.UC DASI
and
.UC GSI
terminals
which have half-line forward and reverse capabilities.
To print
equations on a Model 37 teletype, for example, use
.P1
neqn files | nroff
.P2
The language for equations recognized by
.UC NEQN
is identical to that of
.UC EQN,
although of course the output is more restricted.
.PP
To use a
.UC GSI
or
.UC DASI
terminal as the output device,
.P1
neqn files | nroff -T\f2x\fP
.P2
where
.ul
x
is the terminal type you are using,
such as
.ul
300
or
.ul
300S.
.PP
.UC EQN
and
.UC NEQN
can be used with the 
.UC TBL
program[2]
for setting tables that contain mathematics.
Use
.UC TBL
before
.UC [N]EQN ,
like this:
.P1
tbl  files  |  eqn  |  troff
tbl  files  |  neqn  |  nroff
.P2
.SC "Acknowledgments"
.PP
We are deeply indebted to J. F. Ossanna,
the author of
.UC TROFF ,
for his willingness to extend
.UC TROFF
to make our task easier,
and for his
continuous assistance during the development
and evolution
of
.UC EQN .
We are also grateful to A. V. Aho
for advice on language design,
to S. C. Johnson for assistance with
the
.UC YACC
compiler-compiler,
and to all the
.UC EQN
users
who have made helpful suggestions and criticisms.
.SH
References
.LP
.IP [1]
J. F. Ossanna,
.UC NROFF/TROFF \& ``
User's Manual'',
Bell Laboratories Computing Science Technical Report
#54, 1976.
.IP [2]
M. E. Lesk,
``Typing Documents on
.UC UNIX '',
Bell Laboratories, 1976.
.IP [3]
M. E. Lesk,
.UC TBL \& ``
\(em A Program for Setting Tables'',
Bell Laboratories Computing Science Technical Report #49,
1976.
