aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2000-11-22 08:39:17 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2000-11-22 08:39:17 +0000
commit2ba69799de7244ff4f3bdd5efbb616df72775e34 (patch)
tree86d9c3cb417ba8a2e543e2a02e1967d984190f25 /contrib
parentae9fd6288cf2819976a1a61d6c3bbdb062b0e465 (diff)
downloadsrc-2ba69799de7244ff4f3bdd5efbb616df72775e34.tar.gz
src-2ba69799de7244ff4f3bdd5efbb616df72775e34.zip
Make An macro understand two special arguments, -nosplit
and -split. See the mdoc.samples(7) manpage for details. Reviewed by: sheldonh
Notes
Notes: svn path=/head/; revision=69024
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 f56b30019766..563d392739a5 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