1- <!-- $Header: /cvsroot/pgsql/doc/src/sgml/docguide.sgml,v 1.46 2003/09/12 22:17:22 tgl Exp $ -->
1+ <!-- $Header: /cvsroot/pgsql/doc/src/sgml/docguide.sgml,v 1.47 2003/11/24 19:08:01 petere Exp $ -->
22
33<appendix id="docguide">
44 <title>Documentation</title>
8686 <listitem>
8787 <para>
8888 This is the definition of DocBook itself. We currently use
89- version3.1 ; you cannot use later or earlier versions. Note
89+ version4.2 ; you cannot use later or earlier versions. Note
9090 that there is also an <acronym>XML</acronym> version of DocBook
9191 -- do not use that.
9292 </para>
205205 <listitem>
206206 <para><filename>textproc/openjade</filename></para>
207207 </listitem>
208- <listitem>
209- <para><filename>textproc/docbook-310</filename></para>
210- </listitem>
211208 <listitem>
212209 <para><filename>textproc/iso8879</filename></para>
213210 </listitem>
214211 <listitem>
215212 <para><filename>textproc/dsssl-docbook-modular</filename></para>
216213 </listitem>
217214 </itemizedlist>
215+ Apparently, there is no port for the DocBook V4.2 SGML DTD
216+ available right now. You will need to install it manually.
217+ </para>
218+
219+ <para>
218220 A number of things from <filename>/usr/ports/print</filename>
219221 (<filename>tex</filename>, <filename>jadetex</filename>) might
220222 also be of interest.
225227 in <filename>/usr/local/share/sgml/catalog</filename>. Be sure to
226228 have the following line in there:
227229<programlisting>
228- CATALOG "/usr/local/share/sgml/docbook/3.1/catalog "
230+ CATALOG "/usr/local/share/sgml/docbook/4.2/docbook.cat "
229231</programlisting>
230232 If you do not want to edit the file you can also set the
231233 environment variable <envar>SGML_CATALOG_FILES</envar> to a
@@ -331,20 +333,20 @@ CATALOG "dsssl/catalog"
331333 <step>
332334 <para>
333335 Obtain the <ulink
334- url="http://www.oasis-open .org/docbook/ sgml/3.1/docbk31 .zip">DocBook
335- V3.1 </ulink> distribution.
336+ url="http://www.docbook .org/sgml/4.2/docbook-4.2 .zip">DocBook
337+ V4.2 </ulink> distribution.
336338 </para>
337339 </step>
338340
339341 <step>
340342 <para>
341343 Create the directory
342- <filename>/usr/local/share/sgml/docbook31 </filename> and change
344+ <filename>/usr/local/share/sgml/docbook-4.2 </filename> and change
343345 to it. (The exact location is irrelevant, but this one is
344346 reasonable within the layout we are following here.)
345347<screen>
346- <prompt>$ </prompt><userinput>mkdir /usr/local/share/sgml/docbook31 </userinput>
347- <prompt>$ </prompt><userinput>cd /usr/local/share/sgml/docbook31 </userinput>
348+ <prompt>$ </prompt><userinput>mkdir /usr/local/share/sgml/docbook-4.2 </userinput>
349+ <prompt>$ </prompt><userinput>cd /usr/local/share/sgml/docbook-4.2 </userinput>
348350</screen>
349351 </para>
350352 </step>
@@ -353,7 +355,7 @@ CATALOG "dsssl/catalog"
353355 <para>
354356 Unpack the archive.
355357<screen>
356- <prompt>$ </prompt><userinput>unzip -a ...../docbk31 .zip</userinput>
358+ <prompt>$ </prompt><userinput>unzip -a ...../docbook-4.2 .zip</userinput>
357359</screen>
358360 (The archive will unpack its files into the current directory.)
359361 </para>
@@ -366,7 +368,7 @@ CATALOG "dsssl/catalog"
366368 you told jade during installation) and put a line like this
367369 into it:
368370<programlisting>
369- CATALOG "docbook31 /docbook.cat"
371+ CATALOG "docbook-4.2 /docbook.cat"
370372</programlisting>
371373 </para>
372374 </step>
@@ -388,7 +390,7 @@ CATALOG "docbook31/docbook.cat"
388390 character entities</ulink> archive, unpack it, and put the
389391 files in the same directory you put the DocBook files in.
390392<screen>
391- <prompt>$ </prompt><userinput>cd /usr/local/share/sgml/docbook31 </userinput>
393+ <prompt>$ </prompt><userinput>cd /usr/local/share/sgml/docbook-4.2 </userinput>
392394<prompt>$ </prompt><userinput>unzip ...../ISOEnts.zip</userinput>
393395</screen>
394396 </para>
@@ -504,15 +506,15 @@ CATALOG "docbook-dsssl--1.<replaceable>xx</>/catalog
504506<computeroutput>
505507checking for onsgmls... onsgmls
506508checking for openjade... openjade
507- checking for DocBookV3.1 ... yes
509+ checking for DocBookV4.2 ... yes
508510checking for DocBook stylesheets... /usr/lib/sgml/stylesheets/nwalsh-modular
509511checking for sgmlspl... sgmlspl
510512</computeroutput>
511513</screen>
512514 If neither <filename>onsgmls</filename> nor
513515 <filename>nsgmls</filename> were found then you will not see the
514516 remaining 4 lines. <filename>nsgmls</filename> is part of the Jade
515- package. If <quote>DocBookV3.1 </quote> was not found then you did
517+ package. If <quote>DocBookV4.2 </quote> was not found then you did
516518 not install the DocBook DTD kit in a place where jade can find it,
517519 or you have not set up the catalog files correctly. See the
518520 installation hints above. The DocBook stylesheets are looked for
@@ -1034,7 +1036,7 @@ End:
10341036 the first line look like this:
10351037
10361038<programlisting>
1037- <!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBookV3.1 //EN">
1039+ <!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBookV4.2 //EN">
10381040</programlisting>
10391041
10401042 This means that anything and everything that reads