summaryrefslogtreecommitdiff
path: root/share/tmac/mdoc
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-03-07 21:40:08 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-03-07 21:40:08 +0000
commitf97b798d71fe17aa0d382d1f4bb3d5685ddbd217 (patch)
tree2b4836d4965adab73727f0a891b8769fa863268e /share/tmac/mdoc
parent799408caaa3f00b1752454b424ff136ab49663c2 (diff)
Add support for OpenBSD 2.3 in .Ox macro and make ".Ox" with no
arguments work.
Diffstat (limited to 'share/tmac/mdoc')
-rw-r--r--share/tmac/mdoc/doc-syms8
1 files changed, 7 insertions, 1 deletions
diff --git a/share/tmac/mdoc/doc-syms b/share/tmac/mdoc/doc-syms
index cb361d348ed..473f873a463 100644
--- a/share/tmac/mdoc/doc-syms
+++ b/share/tmac/mdoc/doc-syms
@@ -1,4 +1,4 @@
-.\" $OpenBSD: doc-syms,v 1.12 1997/12/20 21:30:37 deraadt Exp $
+.\" $OpenBSD: doc-syms,v 1.13 1998/03/07 21:40:07 millert Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -167,17 +167,23 @@
.nr cF \\n(.f
.nr cZ \\n(.s
.ds aa \&\f\\n(cF\s\\n(cZ
+.if \\n(aC==0 \{\
+. ie \\n(.$==0 \&\\*(tNOpenBSD\\*(aa
+. el .aV \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
+.\}
.if \\n(.$==2 \{\
. if "\\$1"1.2" \&\\*(tNOpenBSD\\*(aa 1.2\\*(aa\\$2
. if "\\$1"2.0" \&\\*(tNOpenBSD\\*(aa 2.0\\*(aa\\$2
. if "\\$1"2.1" \&\\*(tNOpenBSD\\*(aa 2.1\\*(aa\\$2
. if "\\$1"2.2" \&\\*(tNOpenBSD\\*(aa 2.2\\*(aa\\$2
+. if "\\$1"2.3" \&\\*(tNOpenBSD\\*(aa 2.3\\*(aa\\$2
.\}
.if \\n(.$==1 \{\
. if "\\$1"1.2" \&\\*(tNOpenBSD\\*(aa 1.2\\*(aa
. if "\\$1"2.0" \&\\*(tNOpenBSD\\*(aa 2.0\\*(aa
. if "\\$1"2.1" \&\\*(tNOpenBSD\\*(aa 2.1\\*(aa
. if "\\$1"2.2" \&\\*(tNOpenBSD\\*(aa 2.2\\*(aa
+. if "\\$1"2.3" \&\\*(tNOpenBSD\\*(aa 2.3\\*(aa
. if "\\$1"." \&\\*(tNOpenBSD\\$1\\*(aa
. if "\\$1"," \&\\*(tNOpenBSD\\$1\\*(aa
.\}