blob: da33653aae8e572172a62a136e2ed870c1640428 [file] [log] [blame]
rsc058b0112005-01-03 06:40:20 +00001.TH DOCTYPE 1
2.SH NAME
3doctype \- intuit command line for formatting a document
4.SH SYNOPSIS
5.B doctype
6[
rscc8b63422005-01-13 04:49:19 +00007.B -n
8]
9[
10.B -T
11.I dev
12]
13[
rsc058b0112005-01-03 06:40:20 +000014.I file
15]
16\&...
17.SH DESCRIPTION
18.I Doctype
19examines a
20.IR troff (1)
21input file to deduce the appropriate text formatting command
22and prints it on standard output.
23.I Doctype
24recognizes input for
25.IR troff (1),
26related preprocessors like
27.IR eqn (1),
28and the
29.IR ms (7)
30and
31.I mm
32macro packages.
33.PP
34Option
35.B -n
36invokes
37.I nroff
38instead of
39.IR troff .
rscc8b63422005-01-13 04:49:19 +000040The
41.B -T
42option is passed to
rsc058b0112005-01-03 06:40:20 +000043.IR troff .
44.SH EXAMPLES
45.TP
46.L
47eval `{doctype chapter.?} | lp
48Typeset files named
49.BR chapter.0 ,
50.BR chapter.1 ,
51\&...
52.SH SOURCE
rscc3674de2005-01-11 17:37:33 +000053.B \*9/bin/doctype
rsc058b0112005-01-03 06:40:20 +000054.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
63In true A.I. style, its best guesses are inspired rather than accurate.