summaryrefslogtreecommitdiff
path: root/tmac/doc.tmac
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.tmac
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.tmac')
-rw-r--r--tmac/doc.tmac26
1 files changed, 14 insertions, 12 deletions
diff --git a/tmac/doc.tmac b/tmac/doc.tmac
index 36676432..c872b093 100644
--- a/tmac/doc.tmac
+++ b/tmac/doc.tmac
@@ -2652,10 +2652,10 @@
.
. ie t \{\
. nop \*[doc-Li-font]\c
-' ta T 9n
+. ta T 9n
. \}
. el \
-' ta T 8n
+. ta T 8n
. nf
. \}
. el \{ .ie "\$1"-filled" \{\
@@ -2696,13 +2696,11 @@
. nr doc-display-indent-stack\n[doc-display-depth] 0
.
. if \n[doc-display-indent-stack\n[doc-display-depth]] \
-' in +\n[doc-display-indent-stack\n[doc-display-depth]]u
+. in +\n[doc-display-indent-stack\n[doc-display-depth]]u
.
. if !\n[doc-is-compact] \{\
-. ie "\*[doc-display-type-stack\n[doc-display-depth]]"ragged" \
-. sp \n[doc-display-vertical]u
-. el \
-' sp \n[doc-display-vertical]u
+. br
+. sp \n[doc-display-vertical]u
. \}
.
. if !\n[cR] \
@@ -3002,8 +3000,10 @@
. if "\*[doc-list-type-stack\n[doc-list-depth]]"column-list" \{\
. doc-set-column-tab \n[doc-num-columns]
' in -\n[doc-column-indent-width]u
-. if !\n[doc-compact-list-stack\n[doc-list-depth]] \
+. if !\n[doc-compact-list-stack\n[doc-list-depth]] \{\
+. br
. sp \n[doc-display-vertical]u
+. \}
.
. nf
. nr doc-num-columns 0
@@ -4015,8 +4015,10 @@
.\" NS doc-list-have-indent-stackXXX
.
.de doc-set-vertical-and-indent
-. if !\n[doc-compact-list-stack\n[doc-list-depth]] \
+. if !\n[doc-compact-list-stack\n[doc-list-depth]] \{\
+. br
. sp \n[doc-display-vertical]u
+. \}
.
. if \n[doc-list-have-indent-stack\n[doc-list-depth]] \{\
. nr doc-list-have-indent-stack\n[doc-list-depth] 0
@@ -4317,7 +4319,7 @@
. nr doc-list-indent-stack\n[doc-list-depth] \n[doc-column-indent-width]u
. if !\n[.u] \{\
. fi
-' in +\n[doc-column-indent-width]u
+. in +\n[doc-column-indent-width]u
. \}
. ti -\n[doc-column-indent-width]u
.
@@ -4363,7 +4365,7 @@
.\" NS width register `Dl' set in doc-common
.
.de Dl
-' ta T .5i
+. ta T .5i
. in +\n[doc-display-indent]u
.
. ie \n[doc-arg-limit] \{\
@@ -4398,7 +4400,7 @@
.\" NS width register `D1' set in doc-common
.
.de D1
-' ta T .5i
+. ta T .5i
. in +\n[doc-display-indent]u
.
. ie \n[doc-arg-limit] \{\