summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2000-11-22 08:39:17 +0000
committerru <ru@FreeBSD.org>2000-11-22 08:39:17 +0000
commit2a74c2661862bfa42c48abe784edeb8a2276462a (patch)
tree60269434aca6f6146f8cabb8187a2cdb83d04b6c /contrib
parent843b99e943722f417d74d506eb11668555b2efc6 (diff)
downloadFreeBSD-src-2a74c2661862bfa42c48abe784edeb8a2276462a.zip
FreeBSD-src-2a74c2661862bfa42c48abe784edeb8a2276462a.tar.gz
Make An macro understand two special arguments, -nosplit
and -split. See the mdoc.samples(7) manpage for details. Reviewed by: sheldonh
Diffstat (limited to 'contrib')
-rw-r--r--contrib/groff/tmac/tmac.doc16
1 files changed, 9 insertions, 7 deletions
diff --git a/contrib/groff/tmac/tmac.doc b/contrib/groff/tmac/tmac.doc
index f56b300..563d392 100644
--- a/contrib/groff/tmac/tmac.doc
+++ b/contrib/groff/tmac/tmac.doc
@@ -3359,6 +3359,15 @@ File:
.\" NS aN register
.nr aN 0
.de An
+.if \\n(aC==0 \{\
+. ie \\n(.$==0 .tm Usage: .An author_name ... \\*(Pu (#\\n(.c)
+. el .ie "\\$1"-nosplit" .nr nY 0
+. el .ie "\\$1"-split" .nr nY 1
+. el \{\
+. ds mN An
+. aV \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
+. \}
+.\}
.if \\n(nY==1 \{\
. ie \\n(aN==1 \{\
. br
@@ -3367,13 +3376,6 @@ File:
. nr aN 1
. \}
.\}
-.if \\n(aC==0 \{\
-. ie \\n(.$==0 .tm Usage: .An author_name ... \\*(Pu (#\\n(.c)
-. el \{\
-. ds mN An
-. aV \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
-. \}
-.\}
.if \\n(aC>\\n(aP \{\
. nr aP \\n(aP+1
. nr cF \\n(.f
OpenPOWER on IntegriCloud