Blob
1 .TH MHTML 72 .SH NAME3 mhtml \- macros for formatting HTML4 .SH SYNOPSIS5 .B pic6 .B |7 .B tbl8 .B |9 .B eqn10 .B |11 .B htmlroff12 [13 .B -man14 |15 .B -ms16 ]17 .B -mhtml18 .I file19 \&...20 .SH DESCRIPTION21 This package of22 .IR htmlroff (1)23 macro definitions provides convenient macros for formatting HTML.24 It is usually used along with25 .I troff (1)26 macro packages such as27 .IR man (7)28 and29 .IR ms (7).30 .I Mhtml31 replaces some macros defined in the other packages,32 so it should be listed after them on the33 .I htmlroff34 command line.35 .PP36 The following macros are defined:37 .TP38 .B .HTML \fItitle39 Print an HTML header marking the output as40 HTML 4.01 loose transitional encoded in UTF.41 If given, the42 .I title43 is printed inside44 .B <title>45 tags.46 This macro opens the47 .B <html>48 tag, opens and closes the49 .B <head>50 section, and opens51 .B <body> .52 It invokes the53 .B .HEAD54 macro inside the55 .B <head>56 section.57 To add arbitrary lines to the header,58 append to59 .B .HEAD60 before invoking61 .BR .HTML .62 .TP63 .B .FS\fR, \fP.FE64 Accumulate footnotes and print them at the end of the65 document under a \fBNotes\fP heading.66 These replace the macros in67 .IR ms (7).68 To emit the notes accumulated so far, invoke69 .BR .NOTES .70 .TP71 .B .PS\fR, \fP.PE72 Replace input bracketed73 .B .PS74 and75 .B .PE76 with a PNG image corresponding to the output of77 running78 .I troff(1)79 on the input.80 .TP81 .B .TS\fR, \fP.TE82 Identical to83 .B .PS84 and85 .BR .PE .86 .TP87 .B .B1 \fImargin\fP \fIwidth\fR, \fL.B288 Format the input between89 .B .B190 and91 .B .B292 inside a box, with93 .I margin94 (default 10)95 pixels between the box and the text.96 The box is set to be97 .I width98 (default 60)99 percent of the current output width.100 .SH FILES101 .B \*9/tmac/tmac.html102 .SH SEE ALSO103 .IR htmlroff (1),104 .IR htmlroff (7),105 .IR ms (7)