summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMarco S Hyman <marc@cvs.openbsd.org>2001-01-23 06:29:34 +0000
committerMarco S Hyman <marc@cvs.openbsd.org>2001-01-23 06:29:34 +0000
commit5a0d2dac58166f09e64805b9e31599accb1e02d6 (patch)
tree094dc03e1dc52374a2fcdab2d0cccdad0a839046 /share
parentd0a5fa42f1b6ebc23d23f9c1ba8eafa468923561 (diff)
Tweak to allow groff -Tdvi -mandoc ... to work.
The mdoc macros were re-defining a font alias needed when dvi output was selected. Note: due to groff dvi font limitiations -Tps produces nicer printed material than -Tdvi when using the mandoc macros. OK millert@
Diffstat (limited to 'share')
-rw-r--r--share/tmac/mdoc/doc8
1 files changed, 5 insertions, 3 deletions
diff --git a/share/tmac/mdoc/doc b/share/tmac/mdoc/doc
index 585265d411a..7bd079bc0e0 100644
--- a/share/tmac/mdoc/doc
+++ b/share/tmac/mdoc/doc
@@ -1,4 +1,4 @@
-.\" $OpenBSD: doc,v 1.4 1999/11/15 03:21:30 aaron Exp $
+.\" $OpenBSD: doc,v 1.5 2001/01/23 06:29:33 marc Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -36,8 +36,10 @@
.\" .mdoc-parse - attempt to parse troff request arguments
.\" %beginstrip%
.if \n(.g \{\
-.cp 0
-.ftr C CR
+. cp 0
+. if !\n[DVI] \{\
+. ftr C CR
+. \}
.\}
.if t \{\
. so /usr/share/tmac/mdoc/doc-ditroff