From c1dc615b890b1ac654baa68ef124eb6a3ed85167 Mon Sep 17 00:00:00 2001 From: wlemb Date: Sat, 26 Oct 2002 19:24:07 +0000 Subject: * tmac/doc-ditroff: Remove useless switch/variable -rC. (doc-setup-header): Don't set page register `%'. * tmac/doc-nroff: Remove variable `C'. (doc-setup-page-layout): Set doc-header-space to .5i unconditionally. (doc-setup-header): Don't set page register `%'. Don't call `bp'. * tmac/doc-common (doc-header): Call `ns'. (doc-paragraph): Protect .sp with .br so that it survives the implicit new-page trap. * tmac/doc.tmac (Bp, Bl, doc-set-vertical-and-indent): Ditto. * tmac/doc*:Replace ' with . for consistency in all mdoc-related files if no effect. --- tmac/doc-nroff | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'tmac/doc-nroff') diff --git a/tmac/doc-nroff b/tmac/doc-nroff index 9c5f3075..0c043812 100644 --- a/tmac/doc-nroff +++ b/tmac/doc-nroff @@ -44,10 +44,9 @@ . .if !r cR .nr cR 1 . -.\" the following switches are ignored in nroff mode +.\" the following switch is ignored in nroff mode . .nr S 10 -.nr C 0 . .\" the `doc-xx-font' strings must not be empty! . @@ -122,10 +121,7 @@ .\" NS doc-header-space . .de doc-setup-page-layout -. ie \n[cR] \ -. nr doc-header-space 0 -. el \ -. nr doc-header-space .5i +. nr doc-header-space .5i . nr doc-footer-space .5i . . ie r LL \ @@ -201,7 +197,6 @@ .\" NS doc-header-string . .de doc-setup-header -. nr % 1 . ds doc-header-string "\*[doc-document-title] . if !"\*[doc-section]"Null" \ . as doc-header-string (\*[doc-section]) @@ -213,9 +208,6 @@ . wh -1.167i doc-footer . \} . -. if ((\n[nl] == 0) : (\n[nl] == -1)) \ -' bp -. . e@ doc-end-macro .. . -- cgit v1.2.1