summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2004-01-12 18:13:23 +0000
committermillert <millert@openbsd.org>2004-01-12 18:13:23 +0000
commit001b274fc062c1f93ecd0c487752f28606885413 (patch)
tree0fed03371ec4705a4d00d18aff86ffdcbd35a32c
parentUse a 5n margin on the right & left sides so the text version formats nicely. (diff)
downloadwireguard-openbsd-001b274fc062c1f93ecd0c487752f28606885413.tar.xz
wireguard-openbsd-001b274fc062c1f93ecd0c487752f28606885413.zip
There is no typewriter font in nroff so just use the roman font instead.
Fixes bizarre font problems formatting vi.ref via nroff. OK jmc@
-rw-r--r--usr.bin/vi/docs/USD.doc/vi.ref/ref.so14
1 files changed, 13 insertions, 1 deletions
diff --git a/usr.bin/vi/docs/USD.doc/vi.ref/ref.so b/usr.bin/vi/docs/USD.doc/vi.ref/ref.so
index 39246d4a443..94c927ea064 100644
--- a/usr.bin/vi/docs/USD.doc/vi.ref/ref.so
+++ b/usr.bin/vi/docs/USD.doc/vi.ref/ref.so
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ref.so,v 1.4 2001/01/29 01:58:35 niklas Exp $
+.\" $OpenBSD: ref.so,v 1.5 2004/01/12 18:13:23 millert Exp $
.\"
.\" Copyright (c) 1994
.\" The Regents of the University of California. All rights reserved.
@@ -50,7 +50,11 @@
..
.\" typewriter font
.de LI
+.if n \{\
+\&\fR\\$1\fP\\$2
+.el
\&\fC\\$1\fP\\$2
+.\}
..
.\" ex/vi names in command font
.de EV
@@ -70,7 +74,11 @@
..
.\" paren quoted (typewriter font)
.de PQ
+.if n \{\
+(\*(lq\fR\\$1\fP\*(rq)\\$2
+.el
(\*(lq\fC\\$1\fP\*(rq)\\$2
+.\}
..
.\" quoted bold
.de QB
@@ -90,7 +98,11 @@
..
.\" quoted (typewriter font)
.de QT
+.if n \{\
+\*(lq\fB\\$1\fP\*(rq\\$2
+.el
\*(lq\fC\\$1\fP\*(rq\\$2
+.\}
..
.\" section macro to build TOC
.de SH