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