Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/tmac Add Ox macro (OpenBSD).



details:   https://anonhg.NetBSD.org/src/rev/25ceb247b611
branches:  trunk
changeset: 494295:25ceb247b611
user:      ad <ad%NetBSD.org@localhost>
date:      Wed Jul 05 10:54:12 2000 +0000

description:
Add Ox macro (OpenBSD).

diffstat:

 share/tmac/doc-syms |  27 ++++++++++++++++++++++++++-
 share/tmac/doc2html |   8 +++++++-
 2 files changed, 33 insertions(+), 2 deletions(-)

diffs (70 lines):

diff -r 7b0dab12934a -r 25ceb247b611 share/tmac/doc-syms
--- a/share/tmac/doc-syms       Wed Jul 05 07:50:57 2000 +0000
+++ b/share/tmac/doc-syms       Wed Jul 05 10:54:12 2000 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: doc-syms,v 1.54 2000/07/04 07:03:15 kleink Exp $
+.\"    $NetBSD: doc-syms,v 1.55 2000/07/05 10:54:12 ad Exp $
 .\"
 .\" Copyright (c) 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -188,6 +188,31 @@
 .      \}
 .\}
 ..
+.\" NS Ox macro -- OpenBSD
+.de Ox
+.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(aC>\\n(aP \{\
+.       nr aP \\n(aP+1
+.      ie \\n(C\\n(aP==2 \{\
+.              as b1 \&\\*(tNOpenBSD\ \&\\*(A\\n(aP\\*(aa
+.              ie \\n(aC>\\n(aP \{\
+.                      nr aP \\n(aP+1
+.                      nR
+.              \}
+.              el .aZ
+.      \}
+.      el \{\
+.             as b1 \&\\*(tNOpenBSD\\*(aa
+.             nR
+.      \}
+.\}
+..
 .\" NS Bsx macro -- BSD/OS
 .de Bsx
 .nr cF \\n(.f
diff -r 7b0dab12934a -r 25ceb247b611 share/tmac/doc2html
--- a/share/tmac/doc2html       Wed Jul 05 07:50:57 2000 +0000
+++ b/share/tmac/doc2html       Wed Jul 05 10:54:12 2000 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: doc2html,v 1.18 2000/07/04 07:03:15 kleink Exp $
+.\" $NetBSD: doc2html,v 1.19 2000/07/05 10:54:12 ad Exp $
 .\"
 .\" Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -793,6 +793,11 @@
 .      recurse \\$@
 .      pc-fin
 ..
+.de Ox
+.      as doc-pcresult OpenBSD
+.      recurse \\$@
+.      pc-fin
+..
 .de Ux
 .      as doc-pcresult UNIX
 .      recurse \\$@
@@ -1244,6 +1249,7 @@
 .als doc2html@@Op Op
 .als doc2html@@Em Em
 .als doc2html@@Fx Fx
+.als doc2html@@Ox Ox
 .als doc2html@@Nm Nm
 .als doc2html@@Nd Nd
 .als doc2html@@At At



Home | Main Index | Thread Index | Old Index