1 37052ddc 2006-03-19 devnull .TH MHTML 7
3 37052ddc 2006-03-19 devnull mhtml \- macros for formatting HTML
4 37052ddc 2006-03-19 devnull .SH SYNOPSIS
11 37052ddc 2006-03-19 devnull .B htmlroff
17 37052ddc 2006-03-19 devnull .B -mhtml
20 37052ddc 2006-03-19 devnull .SH DESCRIPTION
21 37052ddc 2006-03-19 devnull This package of
22 37052ddc 2006-03-19 devnull .IR htmlroff (1)
23 37052ddc 2006-03-19 devnull macro definitions provides convenient macros for formatting HTML.
24 37052ddc 2006-03-19 devnull It is usually used along with
25 37052ddc 2006-03-19 devnull .I troff (1)
26 37052ddc 2006-03-19 devnull macro packages such as
27 37052ddc 2006-03-19 devnull .IR man (7)
29 37052ddc 2006-03-19 devnull .IR ms (7).
31 37052ddc 2006-03-19 devnull replaces some macros defined in the other packages,
32 37052ddc 2006-03-19 devnull so it should be listed after them on the
33 37052ddc 2006-03-19 devnull .I htmlroff
34 37052ddc 2006-03-19 devnull command line.
36 37052ddc 2006-03-19 devnull The following macros are defined:
38 37052ddc 2006-03-19 devnull .B .HTML \fItitle
39 37052ddc 2006-03-19 devnull Print an HTML header marking the output as
40 37052ddc 2006-03-19 devnull HTML 4.01 loose transitional encoded in UTF.
41 37052ddc 2006-03-19 devnull If given, the
43 37052ddc 2006-03-19 devnull is printed inside
44 37052ddc 2006-03-19 devnull .B <title>
46 37052ddc 2006-03-19 devnull This macro opens the
47 37052ddc 2006-03-19 devnull .B <html>
48 37052ddc 2006-03-19 devnull tag, opens and closes the
49 37052ddc 2006-03-19 devnull .B <head>
50 37052ddc 2006-03-19 devnull section, and opens
51 37052ddc 2006-03-19 devnull .B <body> .
52 37052ddc 2006-03-19 devnull It invokes the
54 37052ddc 2006-03-19 devnull macro inside the
55 37052ddc 2006-03-19 devnull .B <head>
57 37052ddc 2006-03-19 devnull To add arbitrary lines to the header,
58 37052ddc 2006-03-19 devnull append to
60 37052ddc 2006-03-19 devnull before invoking
61 37052ddc 2006-03-19 devnull .BR .HTML .
63 37052ddc 2006-03-19 devnull .B .FS\fR, \fP.FE
64 37052ddc 2006-03-19 devnull Accumulate footnotes and print them at the end of the
65 37052ddc 2006-03-19 devnull document under a \fBNotes\fP heading.
66 37052ddc 2006-03-19 devnull These replace the macros in
67 37052ddc 2006-03-19 devnull .IR ms (7).
68 37052ddc 2006-03-19 devnull To emit the notes accumulated so far, invoke
69 37052ddc 2006-03-19 devnull .BR .NOTES .
71 37052ddc 2006-03-19 devnull .B .PS\fR, \fP.PE
72 37052ddc 2006-03-19 devnull Replace input bracketed
76 37052ddc 2006-03-19 devnull with a PNG image corresponding to the output of
78 37052ddc 2006-03-19 devnull .I troff(1)
79 37052ddc 2006-03-19 devnull on the input.
81 37052ddc 2006-03-19 devnull .B .TS\fR, \fP.TE
82 37052ddc 2006-03-19 devnull Identical to
85 37052ddc 2006-03-19 devnull .BR .PE .
87 37052ddc 2006-03-19 devnull .B .B1 \fImargin\fP \fIwidth\fR, \fL.B2
88 37052ddc 2006-03-19 devnull Format the input between
92 37052ddc 2006-03-19 devnull inside a box, with
93 37052ddc 2006-03-19 devnull .I margin
94 37052ddc 2006-03-19 devnull (default 10)
95 37052ddc 2006-03-19 devnull pixels between the box and the text.
96 37052ddc 2006-03-19 devnull The box is set to be
98 37052ddc 2006-03-19 devnull (default 60)
99 37052ddc 2006-03-19 devnull percent of the current output width.
100 37052ddc 2006-03-19 devnull .SH FILES
101 37052ddc 2006-03-19 devnull .B \*9/tmac/tmac.html
102 37052ddc 2006-03-19 devnull .SH SEE ALSO
103 37052ddc 2006-03-19 devnull .IR htmlroff (1),
104 37052ddc 2006-03-19 devnull .IR htmlroff (7),
105 37052ddc 2006-03-19 devnull .IR ms (7)