From 38b0baffa36ef954c0f0e5d9f8aef8d14e30208e Mon Sep 17 00:00:00 2001 From: Warren Block Date: Tue, 24 Jun 2014 15:50:48 +0000 Subject: [PATCH] Remove obsolete DocBook SGML setup instructions. --- .../books/fdp-primer/xml-primer/chapter.xml | 91 +------------------ 1 file changed, 5 insertions(+), 86 deletions(-) diff --git a/en_US.ISO8859-1/books/fdp-primer/xml-primer/chapter.xml b/en_US.ISO8859-1/books/fdp-primer/xml-primer/chapter.xml index 2e2bb2093e..fd0978d2ef 100644 --- a/en_US.ISO8859-1/books/fdp-primer/xml-primer/chapter.xml +++ b/en_US.ISO8859-1/books/fdp-primer/xml-primer/chapter.xml @@ -360,59 +360,15 @@ To Do… - Before running the examples in this document, - application software must be installed and the catalog - environment variable configured. - - - - Install + Before running the examples in this document, install textproc/docproj from the &os; Ports Collection. This is a meta-port that downloads and installs the standard programs and supporting files needed by the - Documentation Project. - - - - Add lines to the shell startup files to set - SGML_CATALOG_FILES. When working on - non-English versions of the documentation, replace - en_US.ISO8859-1 with the - appropriate directory for the target language. - - - <filename>.profile</filename>, for &man.sh.1; and - &man.bash.1; Users - - SGML_ROOT=/usr/local/share/xml -SGML_CATALOG_FILES=${SGML_ROOT}/jade/catalog -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/xml/catalog:$SGML_CATALOG_FILES -SGML_CATALOG_FILES=/usr/doc/en_US.ISO8859-1/share/xml/catalog:$SGML_CATALOG_FILES -export SGML_CATALOG_FILES - - - - <filename>.cshrc</filename>, for &man.csh.1; and - &man.tcsh.1; Users - - setenv SGML_ROOT /usr/local/share/xml -setenv SGML_CATALOG_FILES ${SGML_ROOT}/jade/catalog -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/xml/catalog:$SGML_CATALOG_FILES -setenv SGML_CATALOG_FILES /usr/doc/en_US.ISO8859-1/share/xml/catalog:$SGML_CATALOG_FILES - - - After making these changes, either log out and log - back in again, or run the commands from the command line - to set the variable values. - - + Documentation Project. &man.csh.1; users must use + rehash for the shell to recognize new + programs after after they have been installed, or log out + and then log back in again. @@ -711,43 +667,6 @@ example.xml:5: element head: validity error : Element head content does not foll DTDs that were installed as part of the textproc/docproj port. - - - <envar>SGML_CATALOG_FILES</envar> - - To locate a catalog, the - XML processor must know where to look. - Many feature command line parameters for specifying the path - to one or more catalogs. - - In addition, SGML_CATALOG_FILES can be - set to point to the files. This environment variable - consists of a colon-separated list of catalog files - (including their full path). - - Typically, the list includes these files: - - - - /usr/local/share/xml/docbook/4.1/catalog - - - - /usr/local/share/xml/html/catalog - - - - /usr/local/share/xml/iso8879/catalog - - - - /usr/local/share/xml/jade/catalog - - - - This was done - earlier. -