From 8559cd013455e2ae00c773858096eb6ab4556d1d Mon Sep 17 00:00:00 2001 From: phantom Date: Wed, 22 Sep 1999 22:36:16 +0000 Subject: Allow .Rv macro to be used in 7th section also. This patch will fix "Usage: .Rv ..." error at mdoc.samples.7 Ok'ed by: mpp --- contrib/groff/tmac/tmac.doc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'contrib/groff/tmac') diff --git a/contrib/groff/tmac/tmac.doc b/contrib/groff/tmac/tmac.doc index c82dd23..1cd6904 100644 --- a/contrib/groff/tmac/tmac.doc +++ b/contrib/groff/tmac/tmac.doc @@ -3422,7 +3422,9 @@ File: .\" . nr fV \\n(.$-1 . if "\\$1"-std" \{\ . nr cH \\*(cH -. if (\\n(cH<2):(\\n(cH>3) .tm Usage: .Rv -std sections 2 and 3 only +.\" This macro also allowed for 7 section because mdoc.samples.7 will show +.\" actual information (not hardcoded) +. if !((\\n(cH=2):(\\n(cH=3):(\\n(cH=7)) .tm Usage: .Rv -std sections 2 and 3 only . br \&The .Fn \\$2 -- cgit v1.1