diff options
author | wl <wl> | 2004-11-20 09:27:57 +0000 |
---|---|---|
committer | wl <wl> | 2004-11-20 09:27:57 +0000 |
commit | 8a1a0f5397a862caebebd597e90337321acd847b (patch) | |
tree | e49f139c3ee74ea7c550d08b57535d8f14f1f630 /tmac/groff_www.man | |
parent | 36b1c7be0435b4d5d812d62bf9b19a2747e9ea80 (diff) | |
download | groff-8a1a0f5397a862caebebd597e90337321acd847b.tar.gz |
* tmac/www.tmac (HTML-NS, HTML-TAG-NS, HTML-TAG-NEXT): Simplified.
(HTML</p>): Minor clean-up.
* tmac/groff_www.man: Updated.
* src/devices/grohtml/grohtml.man: Revised and updated.
* NEWS: Updated.
* src/devices/grohtml/post-html.cpp (html_printer::do_heading):
Fix space insertion.
(html_printer::do_links): Fix rules generation around automatic
heading links.
* tmac/www.tmac (LK): Use HTML-TAG-NS.
(HR): Simplify.
No longer emit empty line for non-HTML devices.
Diffstat (limited to 'tmac/groff_www.man')
-rw-r--r-- | tmac/groff_www.man | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/tmac/groff_www.man b/tmac/groff_www.man index 503e03d6..ce203024 100644 --- a/tmac/groff_www.man +++ b/tmac/groff_www.man @@ -35,6 +35,8 @@ .SH NAME groff_www \- groff macros for authoring web pages .HR +. +. .SH SYNOPSIS .B "groff \-mwww" [ options ] @@ -81,6 +83,7 @@ Here is a summary of the functions found in this macro set. \&.HR produce a horizontal rule \&.NHR suppress automatic generation of rules. \&.HTL only generate HTML title +\&.HEAD add data to <head> block \&.ULS unorder list begin \&.ULE unorder list end \&.LI insert a list item @@ -378,7 +381,9 @@ those links can be seen right here. . .TP .B .HR -Generate a full-width horizontal rule. +Generate a full-width horizontal rule for +.BR \-Thtml . +No effect for all other devices. . .TP .B .NHR @@ -398,6 +403,23 @@ in the document. The macro terminates when a space or break is seen (.sp, .br). . .TP +.B .HEAD +Add arbitrary HTML data to the <head> block. +Ignored if not processed with +.BR \-Thtml . +Example: +.RS +.IP +.nf +.B ".HEAD" "\[dq]<link \[rs]" +.B " rel=\[dq]\[dq]icon\[dq]\[dq] \[rs]" +.B " type=\[dq]\[dq]image/png\[dq]\[dq] \[rs]" +.B " href=\[dq]\[dq]http://foo.org//bar.png\[dq]\[dq]/>\[dq]" +.fi +.ft P +.RE +. +.TP .B .HTML All text after this macro is treated as raw html. If the document is processed without |