Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Nov 2000 15:53:49 -0800
From:      Jim Mock <jim@lust.geekhouse.net>
To:        Michael Lucas <mwlucas@blackhelicopters.org>
Cc:        doc@FreeBSD.ORG
Subject:   Re: something wrong with my setup?
Message-ID:  <20001101155349.B575@envy.geekhouse.net>
In-Reply-To: <20001031204024.A11647@blackhelicopters.org>; from mwlucas@blackhelicopters.org on Tue, Oct 31, 2000 at 08:40:24PM -0500
References:  <20001031204024.A11647@blackhelicopters.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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..

<!ENTITY % man PUBLIC "-//FreeBSD//ENTITIES DocBook Manual Page Entities//EN">
%man;
<!ENTITY % authors PUBLIC "-//FreeBSD//ENTITIES DocBook Author Entities//EN">
%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 <jim@jmock.com>        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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001101155349.B575>