diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2004-01-12 18:13:24 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2004-01-12 18:13:24 +0000 |
commit | 325a70aef6ede260a9a5a447c834005269e43d10 (patch) | |
tree | 767d07e858891df4daa2b16b2e81cbc5a7ca4b01 | |
parent | aa2b172a127f78988e37b42e8cd1ef02bf4e6257 (diff) |
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.so | 14 |
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 |