I
look forward to discussing the merger. I believe we have a
win-win situation here.
.FC ???Yours Truly,???
.SG
Use the following command to format the document and save the output to a file named
letter.ps:
$ groff -mm -Tps -l letter.mm > letter.ps
As before, you can make PDF output instead of PostScript with a command like the following:
$ groff -mm -Tps letter.mm | ps2pdf - letter.pdf
The output will look like Figure 21-5.
FIGURE 21-5
Create a simple letter using mm macros.
If you get output from the groff command that says letter.mm:15:
warning `let*wa-title!1??™ not defined, you can safely disregard
it. Alternatively, add a set of empty double quotes to the end of the first line. That is, change the first
line of letter.mm to read
.WA ???Christopher T. Craft??? ??????
TIP
565
Working with Words and Images 21
The mm macros were often used to produce technical memos. The following is an example of a
sign-off sheet that might go at the front of a larger technical memo:
.TL
Merger Technical Specifications
.AF ???ABC Corporation???
.AU ???Christopher Craft???
.AT ???President???
.AS
This memo details the specifications for the planned merger.
.AE
.MT ???Merger Description and Marching Orders???
As a result of our talks with XYZ corporation, we plan to go
forward with the merger.
Pages:
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075