Subject: CVS commit: src
To: None <source-changes@netbsd.org>
From: Ross Harvey <ross@netbsd.org>
List: source-changes
Date: 01/12/1999 21:00:30
Module Name:	src
Committed By:	ross
Date:		Wed Jan 13 05:00:29 UTC 1999

Added Files:
	src/share/tmac: doc2html
Log Message:
New macro package for automatically converting -mdoc input to HTML.
Use: nroff -mdoc2html input_file...
Or, for the completely general case,
Use: groff -P-b -P-u -P-o -Tascii -ww -mdoc2html input_file ...
This was originally intended for just the new distrib/notes and other
non-man-page project documentation, but in fact it can get almost all of
the man pages right at this point.

In many cases, I would suggest that original documentation not be written
in HTML or ASCII any more. A good example would be "supported devices".
It's presently duplicated, in the install notes, the web pages, and the
man pages. If written in -mdoc, it can automatically be a man page, a www
page feature, and a printable, downloadable file.  We can generate PostScript
and the "unix enhanced text" format used by more(1), as well as plain old
ascii, and all using in-tree tools.

TNF Copyright.