Date: Sat, 21 Aug 1999 09:52:59 +0400 (MSD) From: "Alexey M. Zelkin" <phantom@cris.net> To: FreeBSD-gnats-submit@freebsd.org Subject: docs/13284: [PATCH] Allow .Rv for section 7 Message-ID: <199908210552.JAA08266@scorpion.crimea.ua>
next in thread | raw e-mail | index | archive | help
>Number: 13284 >Category: docs >Synopsis: Allow .Rv macro for man section 7 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sat Aug 21 00:10:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Alexey Zelkin >Release: FreeBSD 4.0-CURRENT i386 >Organization: Home >Environment: -CURRENT, last cvsuped few days ago >Description: By default .Rv (Return Value) macro is allowed for 2 and 3 sections only. It's right. But mdoc.samples.7 is also using that function to show result of the .Rv macro (see mdoc.samples(7)). We have to possibilities to fix error message when viewing mdoc.samples(7): 1. Just hardcode its message, it's ugly. 2. Enable .Rv for 7 section, but don't include this change information to docs and its usage (enable hiddenly). >How-To-Repeat: >Fix: Index: tmac.doc =================================================================== RCS file: /usr/local/CVSROOT/src/contrib/groff/tmac/tmac.doc,v retrieving revision 1.2 diff -r1.2 tmac.doc 3420c3420,3422 < . 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 >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908210552.JAA08266>