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.
This commit is contained in:
parent
4b0a936711
commit
a2793c002b
1335
share/tmac/doc2html
Normal file
1335
share/tmac/doc2html
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user