doctype 860 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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 (6)
  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 /rc/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 (6),
  61. .IR man (6)
  62. .SH BUGS
  63. In true A.I. style, its best guesses are inspired rather than accurate.