1 37052ddc 2006-03-19 devnull .TH HTMLROFF 1
3 37052ddc 2006-03-19 devnull htmlroff \- HTML formatting and typesetting
4 37052ddc 2006-03-19 devnull .SH SYNOPSIS
5 37052ddc 2006-03-19 devnull .B htmlroff
21 37052ddc 2006-03-19 devnull .SH DESCRIPTION
22 37052ddc 2006-03-19 devnull .I Htmlroff
24 37052ddc 2006-03-19 devnull .IR troff (1)
25 37052ddc 2006-03-19 devnull input in the named
27 37052ddc 2006-03-19 devnull and formats it as HTML for viewing in a web browser.
31 37052ddc 2006-03-19 devnull argument is given,
32 37052ddc 2006-03-19 devnull .I htmlroff
33 37052ddc 2006-03-19 devnull reads the standard input.
34 37052ddc 2006-03-19 devnull An argument consisting of a single minus
35 37052ddc 2006-03-19 devnull .RB ( - )
36 37052ddc 2006-03-19 devnull is taken to be
37 37052ddc 2006-03-19 devnull a file name corresponding to the standard input.
38 37052ddc 2006-03-19 devnull The options are:
41 37052ddc 2006-03-19 devnull Read standard input after the input files are exhausted.
43 37052ddc 2006-03-19 devnull .BI -m name
44 37052ddc 2006-03-19 devnull Process the macro file
45 37052ddc 2006-03-19 devnull .BI \*9/tmac/tmac. name
46 37052ddc 2006-03-19 devnull before the input
47 37052ddc 2006-03-19 devnull .IR files .
49 37052ddc 2006-03-19 devnull .BI -r aN
50 37052ddc 2006-03-19 devnull Set register
52 37052ddc 2006-03-19 devnull (one character name) to
56 37052ddc 2006-03-19 devnull Generate UTF output.
57 37052ddc 2006-03-19 devnull By default,
58 37052ddc 2006-03-19 devnull .I htmlroff
59 37052ddc 2006-03-19 devnull converts Unicode runes into the corresponding
60 37052ddc 2006-03-19 devnull HTML entity sequences
61 37052ddc 2006-03-19 devnull .RB ( α ,
62 37052ddc 2006-03-19 devnull .BR ,
63 37052ddc 2006-03-19 devnull and so on).
64 37052ddc 2006-03-19 devnull .I Htmlroff
66 37052ddc 2006-03-19 devnull .IR tcs (1)
67 37052ddc 2006-03-19 devnull for the conversion.
70 37052ddc 2006-03-19 devnull Generate debugging output and warnings about suspicious input.
75 37052ddc 2006-03-19 devnull input files, especially those using the
76 37052ddc 2006-03-19 devnull .IR ms (7)
77 37052ddc 2006-03-19 devnull macros, can be used unaltered.
78 37052ddc 2006-03-19 devnull In general, the macro file
79 37052ddc 2006-03-19 devnull .B tmac.html
80 37052ddc 2006-03-19 devnull should be processed after processing other standard macro files,
82 37052ddc 2006-03-19 devnull .B htmlroff
84 37052ddc 2006-03-19 devnull .BR -mhtml .
86 37052ddc 2006-03-19 devnull .IR Htmlroff (7)
87 37052ddc 2006-03-19 devnull describes the changes to the input language.
89 37052ddc 2006-03-19 devnull .IR Mhtml (7)
90 37052ddc 2006-03-19 devnull describes the new macros.
91 37052ddc 2006-03-19 devnull .SH EXAMPLES
92 37052ddc 2006-03-19 devnull Format the Plan 9 web page:
95 37052ddc 2006-03-19 devnull cd /usr/web/plan9
96 37052ddc 2006-03-19 devnull htmlroff -mhtml index.tr >index.html
99 37052ddc 2006-03-19 devnull Format a paper:
102 37052ddc 2006-03-19 devnull cd /sys/doc
103 37052ddc 2006-03-19 devnull pic auth.ms | tbl | eqn | htmlroff -ms -mhtml >auth.html
105 37052ddc 2006-03-19 devnull .SH FILES
107 37052ddc 2006-03-19 devnull .B \*9/troff/font/devutf/utfmap
108 37052ddc 2006-03-19 devnull Mapping from
109 37052ddc 2006-03-19 devnull .I troff
110 37052ddc 2006-03-19 devnull two-character names like
111 37052ddc 2006-03-19 devnull .B \e(*a
112 37052ddc 2006-03-19 devnull to Unicode characters like α.
113 37052ddc 2006-03-19 devnull .SH SOURCE
114 37052ddc 2006-03-19 devnull .B \*9/src/cmd/htmlroff
115 37052ddc 2006-03-19 devnull .SH "SEE ALSO
116 37052ddc 2006-03-19 devnull .IR tcs (1),
117 37052ddc 2006-03-19 devnull .IR troff (1),
118 37052ddc 2006-03-19 devnull .IR htmlroff (7),
119 37052ddc 2006-03-19 devnull .IR mhtml (7)