summaryrefslogtreecommitdiffstats
path: root/contrib/groff/tmac/an-old.tmac
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-07-18 06:48:31 +0000
committerru <ru@FreeBSD.org>2001-07-18 06:48:31 +0000
commit213982a5006238355200339d141ae7bd6ae57cd1 (patch)
tree65235e8deba31a63a47cb47717604d73ba016abc /contrib/groff/tmac/an-old.tmac
parent7d7d18d267f6bb01b910afd10cefaee1a9e205d9 (diff)
downloadFreeBSD-src-213982a5006238355200339d141ae7bd6ae57cd1.zip
FreeBSD-src-213982a5006238355200339d141ae7bd6ae57cd1.tar.gz
From ChangeLog:
: 2001-07-18 Ruslan Ermilov <ru@FreeBSD.org> : : * tmac/groff_mdoc.man: Document new -width and -column syntax. : Some other minor fixes. : * tmac/an-old.tmac: Add `AT' and `UC' macros.
Diffstat (limited to 'contrib/groff/tmac/an-old.tmac')
-rw-r--r--contrib/groff/tmac/an-old.tmac21
1 files changed, 21 insertions, 0 deletions
diff --git a/contrib/groff/tmac/an-old.tmac b/contrib/groff/tmac/an-old.tmac
index 49264d7..1402e4d 100644
--- a/contrib/groff/tmac/an-old.tmac
+++ b/contrib/groff/tmac/an-old.tmac
@@ -136,6 +136,27 @@
. \}
..
.
+.\" BSD compatibility macros: .AT and .UC
+.
+.de1 AT
+. ds an-extra2 "7th Edition
+. if "\\$1"3" .ds an-extra2 "7th Edition
+. if "\\$1"4" .ds an-extra2 "System III
+. if "\\$1"5" \{\
+. ie "\\$2"" .ds an-extra2 "System V
+. el .ds an-extra2 "System V Release \\$2
+. \}
+..
+.
+.de1 UC
+. ds an-extra2 "3rd Berkeley Distribution
+. if "\\$1"3" .ds an-extra2 "3rd Berkeley Distribution
+. if "\\$1"4" .ds an-extra2 "4th Berkeley Distribution
+. if "\\$1"5" .ds an-extra2 "4.2 Berkeley Distribution
+. if "\\$1"6" .ds an-extra2 "4.3 Berkeley Distribution
+. if "\\$1"7" .ds an-extra2 "4.4 Berkeley Distribution
+..
+.
.de1 DT
. ta T .5i \" This sets tabs every .5 inches
..
OpenPOWER on IntegriCloud