summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoritojun <itojun@openbsd.org>2001-06-23 04:38:09 +0000
committeritojun <itojun@openbsd.org>2001-06-23 04:38:09 +0000
commit19193c68794aec4a877d6406b7f80caeb16f4f90 (patch)
treeb0961f317b505a86f00d0b87bfd2fe61b61d0b68
parentI could search... but I'm a lazy bum;-) (diff)
downloadwireguard-openbsd-19193c68794aec4a877d6406b7f80caeb16f4f90.tar.xz
wireguard-openbsd-19193c68794aec4a877d6406b7f80caeb16f4f90.zip
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>.
-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 \{\