105 lines · 1.7 KB · Text
RawDownload
.TH MHTML 6.SH NAMEmhtml \- macros for formatting HTML.SH SYNOPSIS.B pic.B |.B tbl.B |.B eqn.B |.B htmlroff[.B -man|.B -ms].B -mhtml.I file\&....SH DESCRIPTIONThis package of.IR htmlroff (1)macro definitions provides convenient macros for formatting HTML.It is usually used along with .IR troff (1)macro packages such as.IR man (6)and.IR ms (6)..I Mhtmlreplaces some macros defined in the other packages,so it should be listed after them on the.I htmlroff command line..PPThe following macros are defined:.TP.B .HTML \fItitlePrint an HTML header marking the output as HTML 4.01 loose transitional encoded in UTF.If given, the.I titleis printed inside.B <title>tags.This macro opens the.B <html>tag, opens and closes the.B <head>section, and opens.BR <body> .It invokes the.B .HEADmacro inside the.B <head>section.To add arbitrary lines to the header,append to.B .HEADbefore invoking.BR .HTML ..TP.B .FS\fR, \fP.FEAccumulate footnotes and print them at the end of thedocument under a \fBNotes\fP heading.These replace the macros in.IR ms (6).To emit the notes accumulated so far, invoke.BR .NOTES ..TP.B .PS\fR, \fP.PEReplace input bracketed.B .PSand.B .PEwith a PNG image corresponding to the output ofrunning.IR troff (1)on the input..TP.B .TS\fR, \fP.TEIdentical to.B .PSand.BR .PE ..TP.B .B1 \fImargin\fP \fIwidth\fR, \fL.B2Format the input between.B .B1and.B .B2inside a box, with.I margin(default 10)pixels between the box and the text.The box is set to be.I width(default 60)percent of the current output width..SH FILES.B /sys/lib/tmac/tmac.html.SH  SEE ALSO.IR htmlroff (1),.IR htmlroff (6),.IR ms (6)