From owner-freebsd-bugs Sat Feb 13 18:39:04 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA05308 for freebsd-bugs-outgoing; Sat, 13 Feb 1999 18:39:04 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from alpha.xerox.com (alpha.Xerox.COM [13.1.64.93]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id SAA05300; Sat, 13 Feb 1999 18:39:02 -0800 (PST) (envelope-from fenner@parc.xerox.com) Received: from mango.parc.xerox.com ([13.1.102.232]) by alpha.xerox.com with SMTP id <52407(1)>; Sat, 13 Feb 1999 15:50:45 PST Received: from mango.parc.xerox.com (localhost.parc.xerox.com [127.0.0.1]) by mango.parc.xerox.com (8.8.8/8.8.8) with ESMTP id PAA18544; Sat, 13 Feb 1999 15:50:41 -0800 (PST) (envelope-from fenner@mango.parc.xerox.com) Message-Id: <199902132350.PAA18544@mango.parc.xerox.com> To: Mike Pritchard cc: fenner@parc.xerox.com (Bill Fenner), yokota@zodiac.mech.utsunomiya-u.ac.jp, wosch@cs.tu-berlin.de, pst@FreeBSD.ORG, bugs@FreeBSD.ORG Subject: Re: Fx and Os macros (was: Re: [yokota@zodiac.mech.utsunomiya-u.ac.jp: .Fx and .Os macros in groff, FreeBSD]) In-reply-to: Your message of "Sat, 13 Feb 1999 13:52:25 PST." <199902132152.NAA22280@hub.freebsd.org> Date: Sat, 13 Feb 1999 15:50:41 PST From: Bill Fenner Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <199902132152.NAA22280@hub.freebsd.org>you write: >It doesn't have to be a fatal error. You should be able to issue >a warning message and still have the manual page format correctly. You're right. Here's what I'm playing with right now: .de Fx .nr cF \\n(.f .nr cZ \\n(.s .ds aa \&\f\\n(cF\s\\n(cZ . ie "\\$1"1.0" \c .el .ie "\\$1"1.1" \c .el .ie "\\$1"1.1.5" \c .el .ie "\\$1"1.1.5.1" \c .el .ie "\\$1"2.0" \c .el .ie "\\$1"2.0.5" \c .el .ie "\\$1"2.1" \c .el .ie "\\$1"2.1.5" \c .el .ie "\\$1"2.1.6" \c .el .ie "\\$1"2.1.7" \c .el .ie "\\$1"2.2" \c .el .ie "\\$1"2.2.1" \c .el .ie "\\$1"2.2.2" \c .el .ie "\\$1"2.2.5" \c .el .ie "\\$1"2.2.6" \c .el .ie "\\$1"3.0" \c .el .ie "\\$1"3.1" \c .el .ie "\\$1"4.0" \c .el .ie "\\$1"," \c\" Allow ".Fx ," .el .ie "\\$1"." \c\" Allow ".Fx ." .el .tm Unknown FreeBSD version ``\\$1'' at line \\n(c. . ie "\\$1"," \\&\\*(tNFreeBSD\\*(aa,\\$2 .el .ie "\\$1"." \\&\\*(tNFreeBSD\\*(aa.\\$2 .el \\&\\*(tNFreeBSD\\*(aa \\$1\\$2 .. It'll do the following: % man mcd Formatting page, please wait...Unknown FreeBSD version ``1.0.'' at line 155 Done. MCD(4) FreeBSD Kernel Interfaces Manual (i386 Architecture) MCD(4) ... An mcd driver appeared in FreeBSD 1.0. FreeBSD 2.0 December 8, 1994 2 I do think that we should change .Nx and .Ox to just print their argument and not print any errors, since it's not likely that we'll write man pages with those macros (just import them). Bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message