summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2003-05-03 22:02:44 +0000
committerru <ru@FreeBSD.org>2003-05-03 22:02:44 +0000
commita00bc29ca357dba9400877dca96da133d9f17e30 (patch)
tree6c87c8c53d3c8a95c616bb69e2e83e7afd04914a /contrib
parent3926d435707eb4d2029a08490e9eaef080a265e7 (diff)
downloadFreeBSD-src-a00bc29ca357dba9400877dca96da133d9f17e30.zip
FreeBSD-src-a00bc29ca357dba9400877dca96da133d9f17e30.tar.gz
MFV:
- Do not emit multiple empty lines in the CRT mode. - Fixed the Nd macro to use the right dash.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/groff/tmac/doc-common7
-rw-r--r--contrib/groff/tmac/doc-ditroff9
-rw-r--r--contrib/groff/tmac/doc-nroff9
3 files changed, 9 insertions, 16 deletions
diff --git a/contrib/groff/tmac/doc-common b/contrib/groff/tmac/doc-common
index 438a749..0069998 100644
--- a/contrib/groff/tmac/doc-common
+++ b/contrib/groff/tmac/doc-common
@@ -554,7 +554,10 @@
. as doc-header-string "\|.\|.\|.
. \}
. tl \*[doc-caption-font]\*[doc-header-string]\f[]\*[doc-caption-font2]\*[doc-volume]\f[]\*[doc-caption-font]\*[doc-header-string]\f[]
-. sp \n[doc-header-space]u
+. ie !\n[cR] \
+. sp \n[doc-header-space]u
+. el \
+. sp 1v
. ev
. ns
..
@@ -665,7 +668,7 @@
.\" NS width register `Nd' set above
.
.de Nd
-. nop \- \$*
+. nop \[em] \$*
..
.
.
diff --git a/contrib/groff/tmac/doc-ditroff b/contrib/groff/tmac/doc-ditroff
index 6c83009..14be96b 100644
--- a/contrib/groff/tmac/doc-ditroff
+++ b/contrib/groff/tmac/doc-ditroff
@@ -118,13 +118,13 @@
.\" NS doc-header-space global register
.\" NS the space between header and body
.
-.nr doc-header-space 0
+.nr doc-header-space .5i
.
.
.\" NS doc-footer-space global register
.\" NS the space between body and footer
.
-.nr doc-footer-space 0
+.nr doc-footer-space .5i
.
.
.\" NS doc-display-vertical global register
@@ -138,13 +138,8 @@
.\" NS
.\" NS modifies:
.\" NS doc-display-vertical
-.\" NS doc-footer-space
-.\" NS doc-header-space
.
.de doc-setup-page-layout
-. nr doc-header-space .5i
-. nr doc-footer-space .5i
-.
. ie r LL \
. ll \n[LL]u
. el \
diff --git a/contrib/groff/tmac/doc-nroff b/contrib/groff/tmac/doc-nroff
index 0c04381..e8ce14d 100644
--- a/contrib/groff/tmac/doc-nroff
+++ b/contrib/groff/tmac/doc-nroff
@@ -97,13 +97,13 @@
.\" NS doc-header-space global register
.\" NS the space between header and body
.
-.nr doc-header-space 0
+.nr doc-header-space 0.5i
.
.
.\" NS doc-footer-space global register
.\" NS the space between body and footer
.
-.nr doc-footer-space 0
+.nr doc-footer-space 0.5i
.
.
.\" NS doc-display-vertical global register
@@ -117,13 +117,8 @@
.\" NS
.\" NS modifies:
.\" NS doc-display-vertical
-.\" NS doc-footer-space
-.\" NS doc-header-space
.
.de doc-setup-page-layout
-. nr doc-header-space .5i
-. nr doc-footer-space .5i
-.
. ie r LL \
. ll \n[LL]u
. el \
OpenPOWER on IntegriCloud