summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2001-06-23 04:38:10 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2001-06-23 04:38:10 +0000
commit01fc03ec411eb1af98c7b41f8c8137e552fdeda4 (patch)
treee4382348aabcaea6f1ff7381847a174d09ed64e6 /gnu/usr.bin
parenta7cdc72248f58dbcc2436440c1b7222f30dd525c (diff)
print names in reference (.%A) as below
first guy, ... first guy and second guy, ... first, second, and second guy, ... based on comment from "Brian J. Kifiak" <bk@rt.fm>.
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/groff/tmac/tmac.doc12
1 files changed, 9 insertions, 3 deletions
diff --git a/gnu/usr.bin/groff/tmac/tmac.doc b/gnu/usr.bin/groff/tmac/tmac.doc
index e575df7c3f3..98f24b43af7 100644
--- a/gnu/usr.bin/groff/tmac/tmac.doc
+++ b/gnu/usr.bin/groff/tmac/tmac.doc
@@ -2891,11 +2891,17 @@
..
.\" NS rZ macro - reference print
.de rZ
-.if \\n(uK \{\&\\*(U1,
-. nr aK 1
-. if (\\n(uK>1 \{\
+.if \\n(uK \{\
+. ie (\\n(uK>2 \{\&\\*(U1,
+. nr aK 1
. aK
. \}
+. el \{\
+. ie (\\n(uK>1 \{\&\\*(U1 and \&\\*(U2,
+. \}
+. el \{\&\\*(U1,
+. \}
+. \}
. nr Kl -\\n(uK
.\}
.if \\n(tK \{\