Blob


1 .TH DOCTYPE 1
2 .SH NAME
3 doctype \- intuit command line for formatting a document
4 .SH SYNOPSIS
5 .B doctype
6 [
7 .I option ...
8 ] [
9 .I file
10 ]
11 \&...
12 .SH DESCRIPTION
13 .I Doctype
14 examines a
15 .IR troff (1)
16 input file to deduce the appropriate text formatting command
17 and prints it on standard output.
18 .I Doctype
19 recognizes input for
20 .IR troff (1),
21 related preprocessors like
22 .IR eqn (1),
23 and the
24 .IR ms (7)
25 and
26 .I mm
27 macro packages.
28 .PP
29 Option
30 .B -n
31 invokes
32 .I nroff
33 instead of
34 .IR troff .
35 Other options are passed to
36 .IR troff .
37 .SH EXAMPLES
38 .TP
39 .L
40 eval `{doctype chapter.?} | lp
41 Typeset files named
42 .BR chapter.0 ,
43 .BR chapter.1 ,
44 \&...
45 .SH SOURCE
46 .B /usr/local/plan9/bin/doctype
47 .SH SEE ALSO
48 .IR troff (1),
49 .IR eqn (1),
50 .IR tbl (1),
51 .IR pic (1),
52 .IR grap (1),
53 .IR ms (7),
54 .IR man (7)
55 .SH BUGS
56 In true A.I. style, its best guesses are inspired rather than accurate.