summaryrefslogtreecommitdiff
path: root/tmac/doc-ditroff
diff options
context:
space:
mode:
authorwlemb <wlemb>2002-10-26 19:24:07 +0000
committerwlemb <wlemb>2002-10-26 19:24:07 +0000
commitc1dc615b890b1ac654baa68ef124eb6a3ed85167 (patch)
treec7857f8e7e84553f8c59c9fc11387bdb0a1b9b11 /tmac/doc-ditroff
parentf07ab9d46fd6ecdc561b3b700f40f4020b6c2bbd (diff)
downloadgroff-c1dc615b890b1ac654baa68ef124eb6a3ed85167.tar.gz
* 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.
Diffstat (limited to 'tmac/doc-ditroff')
-rw-r--r--tmac/doc-ditroff11
1 files changed, 0 insertions, 11 deletions
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
..