Documentation Files
./doc/README.support Not converted
./doc/TODO.GEQO Removed. Superceded by geqo.sgml
./doc/userguide.ps Removed (converted to SGML)
- ./migration/1.02_to_1.02.1 Removed. Superceded by release.sgml
- ./migration/1.09_to_6.0 Removed. Superceded by release.sgml
- ./migration/1.0_to_1.01 Removed. Superceded by release.sgml
- ./migration/6.0_to_6.1 Removed. Superceded by release.sgml
- ./migration/6.1_to_6.1.1 Removed. Superceded by release.sgml
- ./migration/6.1_to_6.2 Removed. Superceded by release.sgml
- ./migration/6.2.1_to_6.3 Removed. Superceded by release.sgml
- ./migration/6.2_to_6.2.1 Removed. Superceded by release.sgml
- ./migration/6.3.1_to_6.3.2 Removed. Superceded by release.sgml
./src/DEVELOPERS Not converted
./src/backend/access/nbtree/README Not converted
./src/backend/catalog/README Not converted
--->
-
-
-
The Documentation Project
-
-Packaged documentation is available in both
-formats. These are available as part of the standard
-
Postgres installation. We discuss here
-working with the documentation sources and generating documentation
-packages.
-
-
-This is the first release of new
Postgres
-documentation in three years. The content and environment are in flux
-and still evolving.
-
-
-
-The purpose of
SGML is to allow an author to
-specify the structure and content of a document (e.g. using the
-have the document style define how that content is rendered into a
-final form (e.g. using Norm Walsh's stylesheets).
-
-Introduction to DocBook for a nice "quickstart" summary of
-DocBook features.
-Elements provides a powerful cross-reference for features of
-
-This documentation set is constructed using several tools, including
-James Clark's
- and Norm Walsh's
-
Modular DocBook Stylesheets.
-
-Currently, hardcopy is produced by importing Rich Text
-Format (
RTF) output from
-
ApplixWare for minor formatting fixups then
-exporting as a Postscript file.
-
-
TeX is a supported format for
-
jade output, but was not used at this time
-for several reasons, including the inability to make minor format
-fixes before committing to hardcopy and generally inadequate table
-stylesheets.
Styles and Conventions
-->
-
Authoring Tools
+
SGML Authoring Tools
-The current
Postgres documentation set
is written using
+The current
Postgres documentation set
was written using
a plain text editor (or emacs/psgml; see below) with the content marked up using
SGML and
DocBook do not suffer
emacs/psgml
-When using emacs/psgml, a comfortable way of working with
+an
SGML major mode. When properly configured,
+this will allow you to use
emacs to insert tags and
+check markup consistancy.
+
+ Put the following in your ~/.emacs environment file:
+
+; ********** for SGML mode (psgml)
+
+(setq sgml-catalog-files "/usr/lib/sgml/CATALOG")
+(setq sgml-local-catalogs "/usr/lib/sgml/CATALOG")
+
+(autoload 'sgml-mode "psgml" "Major mode to edit SGML files." t )
+
+
+and add an entry in the same file
+for
SGML into the (existing) definition for
+auto-mode-alist:
+
+(setq
+ auto-mode-alist
+ '(("\\.sgml$" . sgml-mode)
+ ))
+
+
+Each
SGML source file has the following block at the
+end of the file:
+
+!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-default-dtd-file:"./reference.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:"/usr/lib/sgml/catalog"
+sgml-local-ecat-files:nil
+End:
+--
+
+
+ The
Postgres distribution includes a
+ parsed DTD definitions file reference.ced.
+You may find that
+
+When using
emacs/psgml, a comfortable way of working with
these separate files of book parts is to insert a proper DOCTYPE
declaration while you're editing them. If you are working on this source, for instance,
it's an appendix chapter, so you would specify the document as an "appendix" instance of
These instructions do not cover new
jade/DocBook
-support in the
sgml-tools package. The authors have
-not tried this package since it adopted DocBook, but it is almost certainly
-a good candidate for use.
+support in the
+package. The authors have not tried this package since it adopted DocBook,
+but it is almost certainly a good candidate for use.
Prerequisites
-James Clark's
Jade version 1.1
+(version 1.1 in file jade1_1.zip was current at the time of writing)
-Norman Walsh's
Modular Stylesheets
-version 1.19
+Norman Walsh's
Modular Stylesheets
+(version 1.19 was used to produce these documents)
-Lennart Staflin's
PSGML version 1.0.1
+(version 1.0.1 in psgml-1.0.1.tar.gz was available at the time of writing)
directory tree under /usr/local/share/docbook.
The command will be something like
-unzip -aU db107.zip
+unzip -aU db119.zip
One way to test the installation is to build the
HTML and
RTF forms of the
-<productname>PostgreSQL manual.
+<
citetitle>PostgreSQL User's Guide.
Unpack the distribution file, run configure, make and make
install to put the byte-compiled files and info library in place.
-
+ id="psgml-setup">
Then add the following lines to your
/usr/local/share/emacs/site-lisp/site-start.el
+