Commit | Line | Data |
---|---|---|
48baa1c3 C |
1 | #once #create message |
2 | .ND | |
3 | .LP | |
4 | One of the most common problems in using neqn is forgetting | |
5 | to leave spaces or tildes around "magic" words like "pi" | |
6 | or "int" or "sum". The result is that the magic words | |
7 | cease to be magic, and just look like ordinary strings | |
8 | of letters. | |
9 | ||
10 | In the file "Example", there are several such errors. | |
11 | Find them, and fix them so the output looks | |
12 | like this, then type "ready". | |
13 | .pl 1 | |
14 | #once #create Ref | |
15 | .LP | |
16 | .EQ | |
17 | sum ~=~ pi ~+~1 | |
18 | .EN | |
19 | .EQ | |
20 | a~=~ pi (x) | |
21 | .EN | |
22 | .EQ | |
23 | alpha ~=~ beta ~+~ gamma ~+~ delta | |
24 | .EN | |
25 | .pl 1 | |
26 | #once #create Example | |
27 | .LP | |
28 | .EQ | |
29 | sum=pi+1 | |
30 | .EN | |
31 | .EQ | |
32 | a=pi(x) | |
33 | .EN | |
34 | .EQ | |
35 | alpha=beta+gamma+delta | |
36 | .EN | |
37 | .pl 1 | |
38 | # | |
39 | #once neqn Ref | nroff >X1 & | |
40 | #once neqn message Ref | nroff -T$term %s/tinyms - | |
41 | #user | |
42 | neqn Example | nroff >X2 | |
43 | #cmp X1 X2 | |
44 | #log | |
45 | #next | |
46 | 3.1a 10 |