diff options
author | wlemb <wlemb> | 2001-05-02 07:09:19 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2001-05-02 07:09:19 +0000 |
commit | 98381217de56fe6eb891e2b5de9a852c58ca8019 (patch) | |
tree | 678d164f16ca28511cf9b1e814d11cf95e5e1c7e /tmac | |
parent | 6c39b50cc0580a863c5581eef880bd3c3c588eb4 (diff) | |
download | groff-98381217de56fe6eb891e2b5de9a852c58ca8019.tar.gz |
Added `brp' request: This is p as a request.
* src/roff/troff/env.cc (environment::do_break): Add parameter
`spread'.
(do_break_request): New function (was `break_request').
(break_request): Calls `do_break_request'.
(break_spread_request): New; calls `do_break_request'.
(init_env_requests): Updated.
* src/roff/troff/env.h: Updated.
* NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
* VERSION: Increased to 1.17.1.
* tmac/an-old.tmac: Fix minor compatibility mode issue.
* tmac/troffrc-end: Make it really work in compatibility mode.
Diffstat (limited to 'tmac')
-rw-r--r-- | tmac/an-old.tmac | 11 | ||||
-rw-r--r-- | tmac/troffrc-end | 20 |
2 files changed, 16 insertions, 15 deletions
diff --git a/tmac/an-old.tmac b/tmac/an-old.tmac index 9ef041f9..caa1fa4e 100644 --- a/tmac/an-old.tmac +++ b/tmac/an-old.tmac @@ -35,7 +35,7 @@ . .if !\n(.g .ab These man macros work only with groff. . -.nr _C \n[.C] +.nr _C \n(.C .cp 0 . .if !r D .nr D 0 @@ -53,7 +53,7 @@ .\} . .nr an-html 0 -.if '\*(.T'html' .nr an-html 1 +.if '\*[.T]'html' .nr an-html 1 .if \n[an-html] .nr C 1 .if r ps4html .nr C 1 . @@ -63,11 +63,12 @@ . .\" .TH title section extra1 extra2 extra3 .de TH +. cp 0 +. . if \\n[an-html] \{\ . HTML-TAG ".tl" \\$1 . \} -. cp 0 . . de an-init \" We have to do it like this to get multiple man pages right. . ds an-title "\\$1 @@ -465,8 +466,8 @@ .el .ds R (Reg.) .ie c\[tm] .ds Tm \[tm] .el .ds Tm (TM) -.ds lq \(lq -.ds rq \(rq +.ds lq \[lq] +.ds rq \[rq] . .if !\n[an-html] .hy 14 . diff --git a/tmac/troffrc-end b/tmac/troffrc-end index 631f6b00..f786059d 100644 --- a/tmac/troffrc-end +++ b/tmac/troffrc-end @@ -2,18 +2,18 @@ .\" final startup file for troff .\" this file is parsed after all macro sets have been read .\" -.do if '\*(.T'html' .mso html.tmac -.\" if we are running the postscript device for html images then load -mwww +.do if '\*[.T]'html' .do mso html.tmac +.\" if we are running the postscript device for html images then load www.tmac .\" -.do if r ps4html .mso www.tmac +.do if r ps4html .do mso www.tmac .\" .\" for all other devices blank out these macros .\" -.do if !d HTML-IMAGE-INLINE .ds HTML-IMAGE-INLINE -.do if !d HTML-IMAGE .ds HTML-IMAGE -.do if !d HTML-IMAGE-RIGHT .ds HTML-IMAGE-RIGHT -.do if !d HTML-IMAGE-LEFT .ds HTML-IMAGE-LEFT -.do if !d HTML-IMAGE-END .ds HTML-IMAGE-END -.do if !d HTML-TAG .ds HTML-TAG -.do if !d HTML-DO-IMAGE .ds HTML-DO-IMAGE +.do if !d HTML-IMAGE-INLINE .do ds HTML-IMAGE-INLINE +.do if !d HTML-IMAGE .do ds HTML-IMAGE +.do if !d HTML-IMAGE-RIGHT .do ds HTML-IMAGE-RIGHT +.do if !d HTML-IMAGE-LEFT .do ds HTML-IMAGE-LEFT +.do if !d HTML-IMAGE-END .do ds HTML-IMAGE-END +.do if !d HTML-TAG .do ds HTML-TAG +.do if !d HTML-DO-IMAGE .do ds HTML-DO-IMAGE .\" Don't let blank lines creep in here. |