summaryrefslogtreecommitdiff
path: root/static/unix-v10/man1/monk.1
blob: bc7adb6447bfb3566f2a137d09d42185d4ea2df3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
.TH MONK 1
. \".TH MONK 1 EXPTOOLS
.CT 1 writing_other
.SH NAME
monk, monksample, monkspell, monkmerge \- typeset documents and letters
.SH SYNOPSIS
.B monk
[
.I options
|\ 
.I files
]
.PP
.B monksample
[
.I sample
]
.PP
.B monkspell
[
.I options
]
...
[
.I files
]
...
.PP
.B monkmerge
[
.I files
]
.SH DESCRIPTION
.I Monk
formats the text in the named
.I files
for
phototypesetting, using other
.IR troff (1)
preprocessors as necessary.
.I Options\^
are given below.
Any other arguments or flags (e.g.,
.BR -o1-2 )
are passed
to
.I troff.
Options can occur in any order and can be intermixed with files.
.PP
.PD 0
.TP
.BI -A commands
Invoke the
.I commands
after all preprocessors and before
.IR troff .
.TP
.BI -B commands
Invoke the
.I commands
after
.I monk
and before any other preprocessor.
.PD
.TP
.B -E
Invoke the
.B -e
option of
.IR troff .
.TP
.BR -N
Use the uncompressed monk databases.
This facilitates debugging monk database entries.
.TP
.BI -R file
Use
.I file
as the index file for
.IR prefer (1).
.TP
.BI -S dest
Send output to device
.IR dest .
Supported forms are:
.RS
.TF -Sapsend
.TP
.BR -Sapsend
Linotronic L200P; see
.IR apsend (1).
.TP 
.BR -Sd202
Mergenthaler Linotron 202; see
.IR d202 (A).
. \".TP
. \".BR -Si300
. \"\s-1EXPTOOLS\s+1 spooler; see
. \".IR i300 (1).
.TP
.BR -Slp
Postscript line printer; see
.IR lp (1)
(default).
. \".TP
. \".BR -Slpr
. \"Allentown spooler; see
. \".IR lpr (1)
.TP
.BR -Sproof
Teletype 5620 or 630 terminal; see
.IR proof (9.1).
. \".TP
. \".BR -Sprt
. \"Unison spooler; see
. \".IR prt (1).
.TP
.BR -Sthink
HP ThinkJet; see
.IR thinkblt (9.1).
.TP
.BR -S-
Standard output.
.PD
.RE
.TP 0
.BI -T device
Prepare output for device specified as in
.B -T
option of
.IR troff (1).
.TP
.B -x
Shows the preprocessors that are being invoked.
.PD
.PP
The following options are not normally needed because monk automatically
determines which preprocessors are required.
However, if the commands in
.B -A
or
.B -B
options require a preprocessor, their use can be forced by
the following options.
.PP
.PD 0
.TP
.B -c
.I col
postprocessor; see
.IR column (1).
(Automatically invoked for many printing terminals.)
.TP
.B -cn
.IR cite (A)
. \".TP
. \".B -cw
. \".IR cw (1)
.TP
.B -e
.IR eqn (1)
.TP
.B -g
.IR grap (1)
.TP
.B -i
.IR ideal (1)
.TP
.B -ipa
.IR ipa (A)
.TP
.B -p
.IR pic (1)
.TP
.B -r
.IR prefer (1)
.TP
.B -t
.IR tbl (1)
.TP
.B -tp
.IR tped ;
see
.IR ped (9.1)
.PD
.PP
.I Monksample
produces on the standard output a skeleton document that you can
redirect into a file and edit.
If no argument is given,
.I monksample
prints a list of the available
.I samples.
They are:
.TF centerpb
.TP
.B acm
Association for Computing Machinery galley sheets.
.TP
.B centerpb
Center Phone Book.
.TP
.B cspress
Computer Science Press galley sheets.
.TP
.B form1
AT&T Bell Laboratories merit review form 1.
.TP
.B im
AT&T Bell Laboratories internal memorandum.
.TP
.B kluwer
Kluwer Academic Publishers book format.
.TP
.B letter
Letters with optional AT&T letterhead.
.TP
.B memo
Internal AT&T correspondence.
.TP
.B model
IEEE/ACM model sheets.
.TP
.B research
AT&T Bell Laboratories bi-annual research report.
.TP
.B rp
AT&T Bell Laboratories release paper.
.TP
.B song
Song sheets for singing at nursing homes.
.TP
.B tc
AT&T Bell Laboratories technical correspondence.
.TP
.B tm
AT&T Bell Laboratories technical memorandum.
.PD
.PP
.I Monkspell
looks up words from the named
.I files
(standard input default)
in a public spelling list and in a private list.
Possible misspellings\(emwords 
that occur in neither and are not plausibly derivable
from the former\(emare placed on the standard output.
It ignores constructs of
.IR monk (1),
.IR troff (1)
and its standard preprocessors.
It runs
.IR demonk (1)
with all specified options and passes its output to
.IR spell (1). 
The following options, in addition to all options for
.IR deroff (1),
are available:
.TP
.BI -d dir
Use non-standard 
.I monk
database directory
.I
dir.
.TP
.B -i
Ignore
.I monk
.L |\^insert
and
.L |\^source
commands as well as
.I troff
.L .so
and
.L .nx
requests.
.PP
.I Monkmerge
reads each file and copies it to standard output,
replacing
.I monk
.B insert
commands with the file contents.
It ignores
.I monk
.B source
commands, which include a file without processing the
.I monk
commands within.
If no input file is given,
.I monkmerge
reads from standard input.
.SH EXAMPLES
.TP
.L
monk paper
Format the file using the default typesetter fonts and output device.
.TP
.L
monk -Sproof paper
Format a file and proof it on a 5620 terminal.
.SH FILES
.TF $MHOME/sample
.TP
.F $MHOME/cite
forward and backward reference preprocessor
.TP
.F $MHOME/db
monk databases
.TP
.F $MHOME/monk
monk compiler
.TP
.F $MHOME/tmac.p
macros for
.IR pic (1)
preprocessor
.TP
.F $MHOME/sample
directory for existing samples
.SH "SEE ALSO"
.IR prefer (1),
.IR troff (1),
.IR deroff (1),
.IR tex (1),
.IR lp (1),
.IR apsend (1),
.IR d202 (A),
.IR thinkblt (9.1),
.IR proof (9.1)
.br
Murrel, S. L.,
Kowalski, T. J.,
`Typing Documents on the UNIX System: Using Monk 0.6',
this manual, Volume 2
. \".SH AUTHOR
. \"Sharon Peeters and T. J. Kowalski
. \".SH PROVIDER
. \"Alan Hastings