From owner-freebsd-doc Wed Feb 27 5:26:42 2002 Delivered-To: freebsd-doc@freebsd.org Received: from mail.ruhr.de (in-ruhr4.ruhr.de [212.23.134.2]) by hub.freebsd.org (Postfix) with SMTP id CA12A37B405 for ; Wed, 27 Feb 2002 05:26:38 -0800 (PST) Received: (qmail 9490 invoked by uid 10); 27 Feb 2002 13:26:37 -0000 Received: (from ue@localhost) by nathan.ruhr.de (8.11.6/8.11.2) id g1RDLqW56483 for freebsd-doc@freebsd.org; Wed, 27 Feb 2002 14:21:52 +0100 (CET) (envelope-from ue) Date: Wed, 27 Feb 2002 14:21:52 +0100 From: Udo Erdelhoff To: "'freebsd-doc@freebsd.org'" Subject: Re: &man question Message-ID: <20020227142152.B56195@nathan.ruhr.de> Mail-Followup-To: "'freebsd-doc@freebsd.org'" References: <20020227144808.A359@straylight.oblivion.bg> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20020227144808.A359@straylight.oblivion.bg> User-Agent: Mutt/1.3.22.1i Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hoi, On Wed, Feb 27, 2002 at 02:48:08PM +0200, Peter Pentchev wrote: > On Wed, Feb 27, 2002 at 01:30:27PM +0200, Yonatan Bokovza wrote: > > &man.something.1 works. Why doesn't > > &man.some_thing.1 works? > > Uhm.. because &man.some_thing.1 is not defined as an entity? > See doc/share/sgml/man-refs.ent for the defined entities. which reminds me that I need to re-run makemanent (ports/fdp-tools) one of these days and fill in all the entities that are missing. > it just might be that an underscore is an illegal character > for entity names. That's exactly the reason why we have &man.pkg.create.1; and not the more logical &man.pkg_create.1;. Underscores are not allowed in an entity names. The characters + and [ are also illegal, given us entities like &man.c...1; for c++. > I doubt that, however; Just try it - open man-refs.ent, define &man.pkg_create.1;, use it in an .sgml file, and watch the system hurl. /s/Udo -- "Ich kann rennen wie ein Hirsch!" "Zustoßen wie ein Stier!" "Kämpfen wie ein Löwe!" "Wer sagte 'Saufen wie ein Kamel?'" - Hägar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message