From owner-freebsd-doc Wed Nov 1 15:53:59 2000 Delivered-To: freebsd-doc@freebsd.org Received: from envy.geekhouse.net (envy.geekhouse.net [64.81.6.50]) by hub.freebsd.org (Postfix) with ESMTP id 53F6937B479 for ; Wed, 1 Nov 2000 15:53:56 -0800 (PST) Received: (from jim@localhost) by envy.geekhouse.net (8.11.1/8.11.1) id eA1Nrn600662; Wed, 1 Nov 2000 15:53:49 -0800 (PST) (envelope-from jim) Date: Wed, 1 Nov 2000 15:53:49 -0800 From: Jim Mock To: Michael Lucas Cc: doc@FreeBSD.ORG Subject: Re: something wrong with my setup? Message-ID: <20001101155349.B575@envy.geekhouse.net> Reply-To: jim@lust.geekhouse.net References: <20001031204024.A11647@blackhelicopters.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20001031204024.A11647@blackhelicopters.org>; from mwlucas@blackhelicopters.org on Tue, Oct 31, 2000 at 08:40:24PM -0500 Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 31 Oct 2000 at 20:40:24 -0500, Michael Lucas wrote: > Folks, > > I have the docproj port installed, and my $SGML_CATALOG_FILES set > appropriately. > > turtledawn~/docs/FreeBSD;echo $SGML_CATALOG_FILES > /usr/local/share/sgml/docbook/catalog:/usr/local/share/sgml/html/catalog:/usr/local/share/sgml/iso8879/catalog:/usr/local/share/sgml/jade/catalog > turtledawn~/docs/FreeBSD; > > I'm trying to build a sgml book in DocBook, copying most of the format > from faq/books.sgml. > > When I try to check my work, however, I get: > > turtledawn~/docs/FreeBSD;nsgmls -s troubleshoot.sgml > nsgmls:/usr/local/share/sgml/docbook/4.1/catalog:22:0:W: DTDDECL catalog entries are not supported This one is due to this line not being commented out in /usr/local/share/sgml/docbook/4.1/catalog: DTDDECL "-//OASIS//DTD DocBook V4.1//EN" "docbook.dcl" To comment it out, add double hyphens before and after it, like this: -- DTDDECL "-//OASIS//DTD DocBook V4.1//EN" "docbook.dcl" -- It was fixed in the docbook-410 port a few days ago. > nsgmls:troubleshoot.sgml:1:73:W: cannot generate system identifier for public text "-//FreeBSD//DTD DocBook V3.1-Based Extension//EN" > nsgmls:troubleshoot.sgml:2:77:W: cannot generate system identifier for public text "-//FreeBSD//ENTITIES DocBook Manual Page Entities//EN" > nsgmls:troubleshoot.sgml:3:4:E: reference to entity "man" for which no system identifier could be generated > nsgmls:troubleshoot.sgml:2:0: entity was defined here > nsgmls:troubleshoot.sgml:4:76:W: cannot generate system identifier for public text "-//FreeBSD//ENTITIES DocBook Author Entities//EN" > nsgmls:troubleshoot.sgml:5:8:E: reference to entity "authors" for which no system identifier could be generated > nsgmls:troubleshoot.sgml:4:0: entity was defined here > nsgmls:troubleshoot.sgml:6:0:E: reference to entity "BOOK" for which no system identifier could be generated > nsgmls:troubleshoot.sgml:1:0: entity was defined here > nsgmls:troubleshoot.sgml:6:0:E: DTD did not contain element declaration for document type name > nsgmls:troubleshoot.sgml:8:5:E: element "BOOK" undefined > nsgmls:troubleshoot.sgml:9:11:E: element "BOOKINFO" undefined > nsgmls:troubleshoot.sgml:10:10:E: element "TITLE" undefined The others are due to the entities you probably left in at the top for man pages and authors.. %man; %authors; You'll either need to remove those, or you'll need to include the relevant bits of the Makefile in yours (DOC_PREFIX, and the .include specifically). - jim -- jim mock work: jim@osd.bsdi.com | jim@FreeBSD.org http://soupnazi.org/ BSDi Open Source Div | http://bsdi.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message