Date: Thu, 6 Mar 2003 19:09:57 +0100 (CET) From: Martin Karlsson <mk-freebsd@bredband.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: docs/48980: [PATCH] nsgmls -s errors and sect. 3.2.1 of the fdp-primer Message-ID: <20030306180957.7E9B22E021@c-e93a70d5.036-23-6f72652.cust.bredbandsbolaget.se>
next in thread | raw e-mail | index | archive | help
>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 @@ <programlisting>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</programlisting> @@ -374,9 +374,9 @@ <programlisting>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</programlisting> </example> >Release-Note: >Audit-Trail: >Unformatted: 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?20030306180957.7E9B22E021>