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-ditroff | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'tmac/doc-ditroff') diff --git a/tmac/doc-ditroff b/tmac/doc-ditroff index 94f7e504..6c830093 100644 --- a/tmac/doc-ditroff +++ b/tmac/doc-ditroff @@ -36,10 +36,6 @@ . .eo . -.\" use -rC=1 to number pages continuously -. -.if !r C .nr C 0 -. .\" use -rD=1 for double-sided printing . .if !r D .nr D 0 @@ -212,18 +208,11 @@ . wh 0 doc-header . wh -1.25i doc-footer . -. nr nL \n[nl] . if \n[gX] \ . ds doc-command-name . . br . -. \" Don't set the page number if this is the first page, -. \" in case the user has used -n. -. if \n[nL] \ -. if !\n[C] \ -. nr % 1 -. . nr gX 0 . e@ doc-end-macro .. -- cgit v1.2.1