summaryrefslogtreecommitdiff
path: root/tmac/doc-nroff
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-nroff
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-nroff')
-rw-r--r--tmac/doc-nroff12
1 files changed, 2 insertions, 10 deletions
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
..
.