BSD 3 development
[unix-history] / usr / doc / eqn / e2
CommitLineData
8340f87c
BJ
1.NH
2Photocomposition
3.PP
4Photocomposition techniques
5can be used to solve some of the problems of typesetting mathematics.
6A phototypesetter is a device which exposes
7a piece of photographic paper or film, placing characters
8wherever they are wanted.
9The Graphic Systems phototypesetter[2] on the
10.UC UNIX
11operating
12system[3] works by shining light through a character stencil.
13The character is made the right size by lenses,
14and the light beam directed by fiber optics
15to the desired place on a piece of photographic paper.
16The exposed paper is developed and typically used
17in some form of photo-offset reproduction.
18.PP
19On
20.UC UNIX ,
21the phototypesetter is driven by a formatting program called
22.UC TROFF
23[4].
24.UC TROFF
25was designed for setting running text.
26It also provides all of the facilities that one needs for
27doing mathematics, such as
28arbitrary horizontal and vertical motions,
29line-drawing, size changing,
30but the syntax for describing these special operations is
31difficult to learn,
32and difficult even for experienced users to type correctly.
33.PP
34For this reason we decided to use
35.UC TROFF
36as an ``assembly language,''
37by
38designing a language for describing mathematical
39expressions,
40and compiling it into
41.UC TROFF .