From owner-cvs-all@FreeBSD.ORG Sun Nov 5 18:32:07 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB5C616A403; Sun, 5 Nov 2006 18:32:07 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6272F43D55; Sun, 5 Nov 2006 18:32:06 +0000 (GMT) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id kA5IW5ol040032; Sun, 5 Nov 2006 18:32:05 GMT (envelope-from keramida@repoman.freebsd.org) Received: (from keramida@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id kA5IW5OZ040031; Sun, 5 Nov 2006 18:32:05 GMT (envelope-from keramida) Message-Id: <200611051832.kA5IW5OZ040031@repoman.freebsd.org> From: Giorgos Keramidas Date: Sun, 5 Nov 2006 18:32:05 +0000 (UTC) To: doc-committers@FreeBSD.org, cvs-doc@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: doc/en_US.ISO8859-1/books/fdp-primer/sgml-primer chapter.sgml X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Nov 2006 18:32:08 -0000 keramida 2006-11-05 18:32:05 UTC FreeBSD doc repository Modified files: en_US.ISO8859-1/books/fdp-primer/sgml-primer chapter.sgml Log: The docbook/4.1 `dbcent.mod' module contains references to public entities first defined in ${SGMLROOT}/html/catalog and ${SGML_ROOT}/iso8879/catalog. By setting the SGML_CATALOG_FILES in the order suggested until now, we end up with a value of SGML_CATALOG_FILES like (wrapped to keep the length of the lines reasonable): /usr/doc/en_US.ISO8859-1/share/sgml/catalog:/usr/doc/share/sgml/catalog:\ /usr/local/share/sgml/docbook/4.1/catalog:/usr/local/share/sgml/html/catalog:\ /usr/local/share/sgml/iso8879/catalog:/usr/local/share/sgml/jade/catalog This means that when `dbcent.mod' refers to entities like %ISOamsa; they are not known already (because they are defined in catalog files later in the search path, not loaded by nsgmls yet). This results in errors like: nsgmls:/usr/local/share/sgml/docbook/4.1/dbcent.mod:54:0:E: \ cannot open "/usr/local/share/sgml/docbook/4.1/iso-amsa.gml" \ (No such file or directory) By rearranging the order of the catalog files a bit, we can convince nsgmls to load the `html' and `iso8879' public entities first, and make it possible to use nsgmls to validate DocBook SGML documents too (instead of HTML only). PR: docs/48980 Submitted by: Martin Karlsson Revision Changes Path 1.46 +4 -4 doc/en_US.ISO8859-1/books/fdp-primer/sgml-primer/chapter.sgml