From owner-freebsd-doc Thu Mar 6 10:10:15 2003 Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B8E237B405 for ; Thu, 6 Mar 2003 10:10:11 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 783EC43F93 for ; Thu, 6 Mar 2003 10:10:09 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h26IA9NS077726 for ; Thu, 6 Mar 2003 10:10:09 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h26IA9oC077725; Thu, 6 Mar 2003 10:10:09 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9FA8D37B40C for ; Thu, 6 Mar 2003 10:10:00 -0800 (PST) Received: from mf2.bredband.net (mf2.bredband.net [195.54.106.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF83743F3F for ; Thu, 6 Mar 2003 10:09:58 -0800 (PST) (envelope-from martink@bredband.net) Received: from c-e93a70d5.036-23-6f72652.cust.bredbandsbolaget.se ([213.112.58.233]) by mf2.bredband.net with ESMTP id <20030306180957.DBJB273.mf2@c-e93a70d5.036-23-6f72652.cust.bredbandsbolaget.se> for ; Thu, 6 Mar 2003 19:09:57 +0100 Received: by c-e93a70d5.036-23-6f72652.cust.bredbandsbolaget.se (Postfix, from userid 1001) id 7E9B22E021; Thu, 6 Mar 2003 19:09:57 +0100 (CET) Message-Id: <20030306180957.7E9B22E021@c-e93a70d5.036-23-6f72652.cust.bredbandsbolaget.se> Date: Thu, 6 Mar 2003 19:09:57 +0100 (CET) From: Martin Karlsson Reply-To: Martin Karlsson To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: docs/48980: [PATCH] nsgmls -s errors and sect. 3.2.1 of the fdp-primer 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 >Number: 48980 >Category: docs >Synopsis: [PATCH] nsgmls -s errors and sect. 3.2.1 of the fdp-primer >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 06 10:10:08 PST 2003 >Closed-Date: >Last-Modified: >Originator: Martin Karlsson >Release: FreeBSD 5.0-RELEASE-p4 i386 >Organization: >Environment: System: FreeBSD c-e93a70d5.036-23-6f72652.cust.bredbandsbolaget.se 5.0-RELEASE-p4 FreeBSD 5.0-RELEASE-p4 #0: Tue Mar 4 10:51:59 CET 2003 root@:/usr/obj/usr/src/sys/K20030304 i386 >Description: Section 3.2.1 of the fdp-primer shows some environment variables for use with the FDP and SGML files. As pointed out by Warren Block (Message-ID: Pine.BSF.4.21.0212021241330.8913-100000@wonkity.com) in an e-mail to the doc mailing list, running nsgmls -s on an SGML file, with these environment variables set, produces errors. This patch swaps the docbook and iso8879 lines so that the docbook line is first (per Warren's suggestion), and this appears to fix the problem. >How-To-Repeat: Use the environment variables shown in section 3.2.1 of the fdp-primer, and test an SGML file with nsgmls -s foo.sgml. >Fix: --- books/fdp-primer/sgml-primer/chapter.sgml.orig Thu Mar 6 04:21:08 2003 +++ books/fdp-primer/sgml-primer/chapter.sgml Thu Mar 6 04:58:34 2003 @@ -360,9 +360,9 @@ SGML_ROOT=/usr/local/share/sgml SGML_CATALOG_FILES=${SGML_ROOT}/jade/catalog -SGML_CATALOG_FILES=${SGML_ROOT}/iso8879/catalog:$SGML_CATALOG_FILES -SGML_CATALOG_FILES=${SGML_ROOT}/html/catalog:$SGML_CATALOG_FILES SGML_CATALOG_FILES=${SGML_ROOT}/docbook/4.1/catalog:$SGML_CATALOG_FILES +SGML_CATALOG_FILES=${SGML_ROOT}/html/catalog:$SGML_CATALOG_FILES +SGML_CATALOG_FILES=${SGML_ROOT}/iso8879/catalog:$SGML_CATALOG_FILES SGML_CATALOG_FILES=/usr/doc/share/sgml/catalog:$SGML_CATALOG_FILES SGML_CATALOG_FILES=/usr/doc/en_US.ISO8859-1/share/sgml/catalog:$SGML_CATALOG_FILES export SGML_CATALOG_FILES @@ -374,9 +374,9 @@ setenv SGML_ROOT /usr/local/share/sgml setenv SGML_CATALOG_FILES ${SGML_ROOT}/jade/catalog -setenv SGML_CATALOG_FILES ${SGML_ROOT}/iso8879/catalog:$SGML_CATALOG_FILES -setenv SGML_CATALOG_FILES ${SGML_ROOT}/html/catalog:$SGML_CATALOG_FILES setenv SGML_CATALOG_FILES ${SGML_ROOT}/docbook/4.1/catalog:$SGML_CATALOG_FILES +setenv SGML_CATALOG_FILES ${SGML_ROOT}/html/catalog:$SGML_CATALOG_FILES +setenv SGML_CATALOG_FILES ${SGML_ROOT}/iso8879/catalog:$SGML_CATALOG_FILES setenv SGML_CATALOG_FILES /usr/doc/share/sgml/catalog:$SGML_CATALOG_FILES setenv SGML_CATALOG_FILES /usr/doc/en_US.ISO8859-1/share/sgml/catalog:$SGML_CATALOG_FILES >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message