Plan 9 from Bell Labs’s /usr/web/sources/plan9/sys/man/1/doctype

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


.TH DOCTYPE 1 
.SH NAME
doctype \- intuit command line for formatting a document
.SH SYNOPSIS
.B doctype
[
.B -n
]
[
.B -T
.I dev
]
[
.I file
]
\&...
.SH DESCRIPTION
.I Doctype
examines a
.IR troff (1)
input file to deduce the appropriate text formatting command
and prints it on standard output.
.I Doctype
recognizes input for
.IR troff (1),
related preprocessors like
.IR eqn (1),
and the 
.IR ms (6)
and
.I mm 
macro packages.
.PP
Option
.B -n
invokes
.I nroff
instead of
.IR troff .
The
.B -T
option is passed to
.IR troff .
.SH EXAMPLES
.TP
.L
eval `{doctype chapter.?} | lp 
Typeset files named
.BR chapter.0 ,
.BR chapter.1 ,
\&...
.SH SOURCE
.B /rc/bin/doctype
.SH SEE ALSO
.IR troff (1), 
.IR eqn (1), 
.IR tbl (1), 
.IR pic (1), 
.IR grap (1),
.IR ms (6),
.IR man (6)
.SH BUGS
In true A.I. style, its best guesses are inspired rather than accurate.

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.