From 5a0d2dac58166f09e64805b9e31599accb1e02d6 Mon Sep 17 00:00:00 2001 From: Marco S Hyman Date: Tue, 23 Jan 2001 06:29:34 +0000 Subject: 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@ --- share/tmac/mdoc/doc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'share/tmac') 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 -- cgit v1.2.3