*** pgsql/doc/src/sgml/docguide.sgml 2009/06/17 21:58:49 1.76 --- pgsql/doc/src/sgml/docguide.sgml 2009/08/04 22:04:37 1.77 *************** *** 1,4 **** ! Documentation --- 1,4 ---- ! Documentation *************** *** 83,95 **** ! DocBook DTD This is the definition of DocBook itself. We currently use ! version 4.2; you cannot use later or earlier versions. Note ! that there is also an XML version of DocBook ! — do not use that. --- 83,96 ---- ! DocBook DTD This is the definition of DocBook itself. We currently use ! version 4.2; you cannot use later or earlier versions. You ! need the SGML variant of the DocBook DTD, ! but to build man pages you also need the XML ! variant of the same version. *************** *** 105,151 **** ! OpenJade ! This is the base package of SGML processing. ! It contains an SGML parser, a ! DSSSL processor (that is, a program to ! convert SGML to other formats using ! DSSSL stylesheets), as well as a number of ! related tools. Jade is now being ! maintained by the OpenJade group, no longer by James Clark. ! DocBook DSSSL Stylesheets ! These contain the processing instructions for converting the ! DocBook sources to other formats, such as ! HTML. ! SGMLSpm ! This optional package is used to create man pages. ! DocBook2X ! This optional package is also used to create man pages. You ! want the docbook2man-sgmlspl package, not ! the main docbook2x package. --- 106,156 ---- ! DocBook DSSSL Stylesheets ! These contain the processing instructions for converting the ! DocBook sources to other formats, such as ! HTML. ! DocBook XSL Stylesheets ! This is another stylesheet for converting DocBook to other ! formats. We currently use this to produce man pages and ! optionally HTMLHelp. You can also use this toolchain to ! produce HTML or PDF output, but official PostgreSQL releases ! use the DSSSL stylesheets for that. ! OpenJade ! This is the base package of SGML processing. ! It contains an SGML parser, a ! DSSSL processor (that is, a program to ! convert SGML to other formats using ! DSSSL stylesheets), as well as a number of ! related tools. Jade is now being ! maintained by the OpenJade group, no longer by James Clark. ! Libxslt for xsltproc ! This is the processing tool to use with the XSLT stylesheets ! (like jade is the processing tool for DSSSL ! stylesheets). *************** CATALOG "docbook/4.2/catalog" *** 263,275 **** available for Debian GNU/Linux. To install, simply use: ! apt-get install openjade1.3 ! apt-get install docbook ! apt-get install docbook-dsssl ! apt-get install sgmlspl # for the man pages - (The plain openjade package installs - OpenJade 1.4, which seems not to work.) --- 268,275 ---- available for Debian GNU/Linux. To install, simply use: ! apt-get install docbook docbook-dsssl docbook-xsl openjade xsltproc *************** CATALOG "docbook-dsssl-1.xx *** 511,523 **** checking for onsgmls... onsgmls checking for openjade... openjade checking for DocBook V4.2... yes ! checking for DocBook stylesheets... /usr/lib/sgml/stylesheets/nwalsh-modular ! checking for sgmlspl... sgmlspl If neither onsgmls nor ! nsgmls were found then you will not see the ! remaining 4 lines. nsgmls is part of the Jade package. You can pass the environment variables JADE and NSGMLS to configure to point to the programs if they are not found automatically. If --- 511,525 ---- checking for onsgmls... onsgmls checking for openjade... openjade checking for DocBook V4.2... yes ! checking for DocBook stylesheets... /usr/share/sgml/docbook/stylesheet/dsssl/modular ! checking for collateindex.pl... /usr/bin/collateindex.pl ! checking for xsltproc... xsltproc ! checking for osx... osx If neither onsgmls nor ! nsgmls were found then some of the following tests ! will be skipped. nsgmls is part of the Jade package. You can pass the environment variables JADE and NSGMLS to configure to point to the programs if they are not found automatically. If *************** gmake postgres.tar.gz *** 583,590 **** Manpages ! We use the docbook2man-sgmlspl utility ! from the DocBook2X project to convert DocBook refentry pages to *roff output suitable for man pages. The man pages are also distributed as a tar archive, --- 585,591 ---- Manpages ! We use the DocBook XSL stylesheets to convert DocBook refentry pages to *roff output suitable for man pages. The man pages are also distributed as a tar archive, *************** gmake postgres.tar.gz *** 592,623 **** pages, use the commands: cd doc/src/sgml ! gmake man D2MDIR=directory - Use the D2MDIR variable to specify the name of - the directory where the - file docbook2man-spec.pl from - the docbook2man-sgmlspl package resides. - There is no default for that. Since that package is not available - or outdated in many packaging systems, you might want to just - download the source code tarball and unpack it. No building is - required. Then the path is something - like D2MDIR=/home/you/somewhere/docbook2man-sgmlspl-1.0/perl. - You may get warnings like this: - - Warning: unrecognized SDATA '[scaron]': please add definition to docbook2man-spec.pl - Warning: unrecognized SDATA '[ouml ]': please add definition to docbook2man-spec.pl - - which can ignore if (and only if) you are using the latest version - of docbook2man-spec.pl - and you are not seeing any other SDATA warnings besides those. To create the man page package for a release, use the following commands: cd doc/src ! gmake man.tar.gz D2MDIR=directory which will result in a tar file being generated in the doc/src directory. --- 593,607 ---- pages, use the commands: cd doc/src/sgml ! gmake man To create the man page package for a release, use the following commands: cd doc/src ! gmake man.tar.gz which will result in a tar file being generated in the doc/src directory.