docguide.sgml
上传用户:blenddy
上传日期:2007-01-07
资源大小:6495k
文件大小:76k
源码类别:

数据库系统

开发平台:

Unix_Linux

  1. <!--
  2. $Header: /usr/local/cvsroot/pgsql/doc/src/sgml/docguide.sgml,v 1.18 1999/07/06 17:19:41 thomas Exp $
  3. Documentation Guide
  4. Thomas Lockhart
  5. Revision 1.15  1999/05/27 15:49:07  thomas
  6. Markup fixes.
  7. Update for v6.5 release.
  8. Revision 1.12  1998/12/18 16:17:29  thomas
  9. Include more details on editing with Emacs.
  10. Remove mention of the old "migration" flat files.
  11. Change URLs for resources to point to areas, not particular files.
  12.  That way things stay correct even when version of tools change.
  13.  Suggested by Vince Vielhaber.
  14. Revision 1.11  1998/10/30 19:36:57  thomas
  15. Minor editing and markup changes as a result of preparing the Postscript
  16.  documentation for v6.4.
  17. Bigger updates to the installation instructions (install and config).
  18. Revision 1.8  1998/08/17 16:17:07  thomas
  19. Bring document list closer to up to day.
  20. Add a note on sgml-tools that they are now working with jade and so
  21.  may become the toolset of choice in the future.
  22. -->
  23. <appendix label="DG2" id="docguide">
  24.  <docinfo>
  25.   <authorgroup>
  26.    <author>
  27.     <firstname>Thomas</firstname>
  28.     <surname>Lockhart</surname>
  29.    </author>
  30.    <author>
  31.     <firstname>Tom Ivar</firstname>
  32.     <surname>Helbekkmo</surname>
  33.    </author>
  34.   </authorgroup>
  35.   <date>1999-05-27</date>
  36.  </docinfo>
  37.  <title>Documentation</title>
  38.  <para>
  39.   The purpose of documentation is to make <productname>Postgres</productname>
  40.   easier to learn, use, and develop.
  41.   The documentation set should describe the <productname>Postgres</productname>
  42.   system, language, and interfaces.
  43.   It should be able to answer
  44.   common questions and to allow a user to find those answers on his own
  45.   without resorting to mailing list support.
  46.  </para>
  47.  <sect1>
  48.   <title>Documentation Roadmap</title>
  49.   <para>
  50.    <productname>Postgres</productname> has four primary documentation
  51.    formats:
  52.    <itemizedlist>
  53.     <listitem><para>
  54.       Plain text for pre-installation information.
  55.      </para></listitem>
  56.     <listitem><para>
  57.       <acronym>HTML</acronym>, for on-line browsing and reference.
  58.      </para></listitem>
  59.     <listitem><para>
  60.       Hardcopy, for in-depth reading and reference.
  61.      </para></listitem>
  62.     <listitem><para>
  63.       <acronym>man pages</acronym>, for quick reference.
  64.      </para></listitem>
  65.    </itemizedlist>
  66.   </para>
  67.   <para>
  68.    <table tocentry="1">
  69.     <title><productname>Postgres</productname> Documentation Products</title>
  70.     <tgroup cols="2">
  71.      <thead>
  72.       <row>
  73.        <entry>
  74. File
  75.        </entry>
  76.        <entry>
  77. Description
  78.        </entry>
  79.       </row>
  80.      </thead>
  81.      <tbody>
  82.       <row>
  83.        <entry>./COPYRIGHT</entry><entry>Copyright notice</entry>
  84.       </row>
  85.       <row>
  86.        <entry>./INSTALL</entry>
  87.        <entry>Installation instructions (text from sgml->rtf->text)</entry>
  88.       </row>
  89.       <row>
  90.        <entry>./README</entry>
  91.        <entry>Introductory info</entry>
  92.       </row>
  93.       <row>
  94.        <entry>./register.txt</entry>
  95.        <entry>Registration message during make</entry>
  96.       </row>
  97.       <row>
  98.        <entry>./doc/bug.template</entry>
  99.        <entry>Bug report template</entry>
  100.       </row>
  101.       <row>
  102.        <entry>./doc/postgres.tar.gz</entry>
  103.        <entry>Integrated docs (<acronym>HTML</acronym>)</entry>
  104.       </row>
  105.       <row>
  106.        <entry>./doc/programmer.ps.gz</entry>
  107.        <entry>Programmer's Guide (Postscript)</entry>
  108.       </row>
  109.       <row>
  110.        <entry>./doc/programmer.tar.gz</entry>
  111.        <entry>Programmer's Guide (<acronym>HTML</acronym>)</entry>
  112.       </row>
  113.       <row>
  114.        <entry>./doc/reference.ps.gz</entry>
  115.        <entry>Reference Manual (Postscript)</entry>
  116.       </row>
  117.       <row>
  118.        <entry>./doc/reference.tar.gz</entry>
  119.        <entry>Reference Manual (<acronym>HTML</acronym>)</entry>
  120.       </row>
  121.       <row>
  122.        <entry>./doc/tutorial.ps.gz</entry>
  123.        <entry>Introduction (Postscript)</entry>
  124.       </row>
  125.       <row>
  126.        <entry>./doc/tutorial.tar.gz</entry>
  127.        <entry>Introduction (<acronym>HTML</acronym>)</entry>
  128.       </row>
  129.       <row>
  130.        <entry>./doc/user.ps.gz</entry>
  131.        <entry>User's Guide (Postscript)</entry></row>
  132.       <row>
  133.        <entry>./doc/user.tar.gz</entry>
  134.        <entry>User's Guide (<acronym>HTML</acronym>)</entry>
  135.       </row>
  136.      </tbody>
  137.     </tgroup>
  138.    </table>
  139.   </para>
  140.   <para>
  141.    There are man pages available, as well as a large number
  142.    of plain-text README-type files throughout the <productname>Postgres</productname>
  143.    source tree.
  144.   </para>
  145.  </sect1>
  146.  <sect1>
  147.   <title>The Documentation Project</title>
  148.   <para>
  149.    Packaged documentation is available in both
  150.    <acronym>HTML</acronym> and <firstterm>Postscript</firstterm>
  151.    formats. These are available as part of the standard
  152.    <productname>Postgres</productname> installation. We discuss here
  153.    working with the documentation sources and generating documentation
  154.    packages.
  155.   </para>
  156.   <para>
  157.    The documentation sources are written using <acronym>SGML</acronym>
  158.    markup of plain text files.
  159.    The purpose of <productname>DocBook</productname> <acronym>SGML</acronym>
  160.    is to allow an author to
  161.    specify the structure and content of a technical document (using the
  162.    <productname>DocBook</productname> <acronym>DTD</acronym>),  and to
  163.    have a document style define how that content is rendered into a
  164.    final form (e.g. using Norm Walsh's 
  165.    <productname>Modular Style Sheets</productname>).</para>
  166.   <para>
  167.    See
  168.    <ulink url="http://nis-www.lanl.gov/~rosalia/mydocs/docbook-intro.html">
  169.     Introduction to DocBook</ulink>
  170.    for a nice "quickstart" summary of DocBook features.
  171.    <ulink url="http://www.ora.com/homepages/dtdparse/docbook/3.0/">
  172.     DocBook Elements</ulink>
  173.    provides a powerful cross-reference for features of
  174.    <productname>DocBook</productname>.
  175.   </para>
  176.   <para>
  177.    This documentation set is constructed using several tools, including
  178.    James Clark's 
  179.    <ulink url="http://www.jclark.com/jade/">
  180.     <productname>jade</productname></ulink>
  181.    and Norm Walsh's 
  182.    <ulink url="http://www.nwalsh.com/docbook/dsssl/">
  183.     Modular DocBook Stylesheets</ulink>.
  184.   </para>
  185.   <para>
  186.    Currently, hardcopy is produced by importing
  187.    <firstterm>Rich Text Format</firstterm> (<acronym>RTF</acronym>) output from
  188.    <application>jade</application> into
  189.    <productname>ApplixWare</productname> for minor formatting fixups, then
  190.    exporting as a Postscript file.</para>
  191.   <para>
  192.    <ulink url="http://sunsite.unc.edu/pub/packages/TeX/systems/unix/">
  193.     <productname>TeX</productname></ulink> is a supported format for
  194.    <application>jade</application> output, but is not used at this time
  195.    for several reasons, including the inability to make minor format
  196.    fixes before committing to hardcopy and generally inadequate table
  197.    support in the <productname>TeX</productname>
  198.    stylesheets.</para>
  199.  </sect1>
  200. <sect1>
  201. <title>Documentation Sources</title>
  202. <para>
  203. Documentation sources include plain text files, man pages, and html. However,
  204. most new <productname>Postgres</productname> documentation will be written using the
  205. <firstterm>Standard Generalized Markup Language</firstterm>
  206. (<acronym>SGML</acronym>) 
  207. <ulink url="http://www.ora.com/davenport/"> <productname>DocBook</productname></ulink>
  208.  <firstterm>Document Type Definition</firstterm> (<acronym>DTD</acronym>).
  209. Much of the existing documentation has been or will be converted to <acronym>SGML</acronym>.
  210. </para>
  211. <para>
  212. The purpose of <acronym>SGML</acronym> is to allow an author to
  213. specify the structure and content of a document (e.g. using the
  214. <productname>DocBook</productname> <acronym>DTD</acronym>),  and to
  215. have the document style define how that content is rendered into a
  216. final form (e.g. using Norm Walsh's stylesheets).
  217. </para>
  218. <para>
  219. Documentation has accumulated from several sources. As we integrate
  220. and assimilate existing documentation into a coherent documentation set,
  221. the older versions will become obsolete and will be removed from the
  222. distribution. However, this will not happen immediately, and will not
  223. happen to all documents at the same time. To ease the transition, and
  224. to help guide developers and writers, we have defined a transition roadmap.
  225. </para>
  226. <para>
  227. Here is the documentation plan for v6.5:
  228. <itemizedlist>
  229. <listitem>
  230. <para>
  231. Start compiling index information for the User's and Administrator's Guides.
  232. </para>
  233. </listitem>
  234. <listitem>
  235. <para>
  236. Write more sections for the User's Guide covering areas outside the reference pages.
  237. This would include introductory information and suggestions for approaches to typical
  238. design problems.
  239. </para>
  240. </listitem>
  241. <listitem>
  242. <para>
  243. Merge information in the existing man pages into the reference pages and User's Guide.
  244. Condense the man pages down to reminder information, with references into the
  245. primary doc set.
  246. </para>
  247. </listitem>
  248. <listitem>
  249. <para>
  250. Convert the new sgml reference pages to new man pages, replacing the existing man pages.
  251. </para>
  252. </listitem>
  253. <listitem>
  254. <para>
  255. Convert all source graphics to CGM format files for portability. Currently we mostly have
  256. Applix Graphics sources from which we can generate .gif output. One graphic is only
  257. available in .gif and .ps, and should be redrawn or removed.
  258. </para>
  259. </listitem>
  260. </itemizedlist>
  261. </para>
  262. <sect2>
  263. <title>Document Structure</title>
  264. <para>
  265. There are currently five separate documents written in DocBook. Each document
  266. has a container source document which defines the DocBook environment and other
  267. document source files. These primary source files are located in 
  268. <filename>doc/src/sgml/</filename>, along with many of the other source files
  269. used for the documentation. The primary source files are:
  270. <variablelist>
  271. <varlistentry>
  272. <term>postgres.sgml</term>
  273. <listitem>
  274. <para>
  275. This is the integrated document, including all other documents as parts.
  276. Output is generated in <acronym>HTML</acronym> since the browser interface
  277. makes it easy to move around all of the documentation by just clicking.
  278. The other documents are available in both <acronym>HTML</acronym> and hardcopy.
  279. </para>
  280. </listitem>
  281. </varlistentry>
  282. <varlistentry>
  283. <term>tutorial.sgml</term>
  284. <listitem>
  285. <para>
  286. The introductory tutorial, with examples. Does not include programming topics,
  287. and is intended to help a reader unfamiliar with <acronym>SQL</acronym>.
  288. This is the "getting started" document.
  289. </para>
  290. </listitem>
  291. </varlistentry>
  292. <varlistentry>
  293. <term>user.sgml</term>
  294. <listitem>
  295. <para>
  296. The User's Guide. Includes information on data types and user-level interfaces.
  297. This is the place to put information on "why".
  298. </para>
  299. </listitem>
  300. </varlistentry>
  301. <varlistentry>
  302. <term>reference.sgml</term>
  303. <listitem>
  304. <para>
  305. The Reference Manual. Includes <productname>Postgres</productname> <acronym>SQL</acronym> syntax.
  306. This is the place to put information on "how".
  307. </para>
  308. </listitem>
  309. </varlistentry>
  310. <varlistentry>
  311. <term>programming.sgml</term>
  312. <listitem>
  313. <para>
  314. The Programmer's Guide. Includes information on <productname>Postgres</productname>
  315. extensibility and on the programming interfaces.
  316. </para>
  317. </listitem>
  318. </varlistentry>
  319. <varlistentry>
  320. <term>admin.sgml</term>
  321. <listitem>
  322. <para>
  323. The Administrator's Guide. Include installation and release notes.
  324. </para>
  325. </listitem>
  326. </varlistentry>
  327. </variablelist>
  328. </para>
  329. <!--
  330. Disable for the hardcopy production release.
  331. Too much tabular info and not very helpful in hardcopy.
  332. - thomas 1998-10-27
  333. -->
  334. </sect2>
  335. <sect2>
  336. <title>Documentation Files</title>
  337. <para>
  338. <table tocentry="1">
  339. <title><productname>Postgres</productname> Documentation Sources</title>
  340. <tgroup cols="3">
  341. <thead>
  342. <row>
  343. <entry>
  344. File
  345. </entry>
  346. <entry>
  347. Status
  348. </entry>
  349. </row>
  350. </thead>
  351. <tbody>
  352. <row><entry> ./doc/src/graphics/catalogs.gif </entry><entry> Output file </entry></row>
  353. <row><entry> ./doc/src/graphics/clientserver.ag </entry><entry> Source file. Convert to CGM </entry></row>
  354. <row><entry> ./doc/src/graphics/clientserver.gif </entry><entry> Output file </entry></row>
  355. <row><entry> ./doc/src/graphics/connections.ag </entry><entry> Source file. Convert to CGM </entry></row>
  356. <row><entry> ./doc/src/graphics/connections.gif </entry><entry> Output file </entry></row>
  357. <row><entry> ./doc/src/graphics/layout.ag </entry><entry> Source file. Convert to CGM </entry></row>
  358. <row><entry> ./doc/src/graphics/layout.gif </entry><entry> Output file </entry></row>
  359. <row><entry> ./doc/src/sgml/about.sgml </entry><entry> New document </entry></row>
  360. <row><entry> ./doc/src/sgml/admin.sgml </entry><entry> Administrator's Guide container </entry></row>
  361. <row><entry> ./doc/src/sgml/advanced.sgml </entry><entry> Converted </entry></row>
  362. <row><entry> ./doc/src/sgml/arch-dev.sgml </entry><entry> Converted </entry></row>
  363. <row><entry> ./doc/src/sgml/arch-pg.sgml </entry><entry> Converted </entry></row>
  364. <row><entry> ./doc/src/sgml/arch.sgml </entry><entry> Converted </entry></row>
  365. <row><entry> ./doc/src/sgml/array.sgml </entry><entry> Converted </entry></row>
  366. <row><entry> ./doc/src/sgml/biblio.sgml </entry><entry> New document </entry></row>
  367. <row><entry> ./doc/src/sgml/bki.sgml </entry><entry> Converted from bki.5 </entry></row>
  368. <row><entry> ./doc/src/sgml/compiler.sgml </entry><entry> New document </entry></row>
  369. <row><entry> ./doc/src/sgml/config.sgml </entry><entry> New document </entry></row>
  370. <row><entry> ./doc/src/sgml/contacts.sgml </entry><entry> Docs contributors? Not used. Either complete or discard </entry></row>
  371. <row><entry> ./doc/src/sgml/datatype.sgml </entry><entry> New document </entry></row>
  372. <row><entry> ./doc/src/sgml/dfunc.sgml </entry><entry> Converted </entry></row>
  373. <row><entry> ./doc/src/sgml/docguide.sgml </entry><entry> Documentation info. New document </entry></row>
  374. <row><entry> ./doc/src/sgml/ecpg.sgml </entry><entry> ecpg eSQL pre-compiler docs </entry></row>
  375. <row><entry> ./doc/src/sgml/environ.sgml </entry><entry> Converted </entry></row>
  376. <row><entry> ./doc/src/sgml/extend.sgml </entry><entry> Converted </entry></row>
  377. <row><entry> ./doc/src/sgml/func-ref.sgml </entry><entry> Converted </entry></row>
  378. <row><entry> ./doc/src/sgml/func.sgml </entry><entry> Converted </entry></row>
  379. <row><entry> ./doc/src/sgml/geqo.sgml </entry><entry> GEQO genetic optimizer docs </entry></row>
  380. <row><entry> ./doc/src/sgml/gist.sgml </entry><entry> New from mailing list </entry></row>
  381. <row><entry> ./doc/src/sgml/history.sgml </entry><entry> New document </entry></row>
  382. <row><entry> ./doc/src/sgml/indices.sgml </entry><entry> New document </entry></row>
  383. <row><entry> ./doc/src/sgml/info.sgml </entry><entry> New document </entry></row>
  384. <row><entry> ./doc/src/sgml/inherit.sgml </entry><entry> Converted </entry></row>
  385. <row><entry> ./doc/src/sgml/install.sgml </entry><entry> Installation instructions </entry></row>
  386. <row><entry> ./doc/src/sgml/intro-ag.sgml </entry><entry> Admin Guide intro. Converted </entry></row>
  387. <row><entry> ./doc/src/sgml/intro-pg.sgml </entry><entry> Programmers Guide intro. Converted </entry></row>
  388. <row><entry> ./doc/src/sgml/intro.sgml </entry><entry> Users Guide intro </entry></row>
  389. <row><entry> ./doc/src/sgml/jdbc.sgml </entry><entry> New document from Peter Mount </entry></row>
  390. <row><entry> ./doc/src/sgml/keys.sgml </entry><entry> New document </entry></row>
  391. <row><entry> ./doc/src/sgml/legal.sgml </entry><entry> Copyright etc. for intros </entry></row>
  392. <row><entry> ./doc/src/sgml/libpgtcl.sgml </entry><entry> Converted </entry></row>
  393. <row><entry> ./doc/src/sgml/libpq++.sgml </entry><entry> C++ library. Converted </entry></row>
  394. <row><entry> ./doc/src/sgml/libpq.sgml </entry><entry> C library </entry></row>
  395. <row><entry> ./doc/src/sgml/lobj.sgml </entry><entry> Large objects </entry></row>
  396. <row><entry> ./doc/src/sgml/manage.sgml </entry><entry> Converted </entry></row>
  397. <row><entry> ./doc/src/sgml/notation.sgml </entry><entry> Docs notation for intros </entry></row>
  398. <row><entry> ./doc/src/sgml/odbc.sgml </entry><entry> ODBC driver </entry></row>
  399. <row><entry> ./doc/src/sgml/oper.sgml </entry><entry> Converted </entry></row>
  400. <row><entry> ./doc/src/sgml/page.sgml </entry><entry> On-disk storage scheme </entry></row>
  401. <row><entry> ./doc/src/sgml/pg_options.sgml </entry><entry> Backend configuration </entry></row>
  402. <row><entry> ./doc/src/sgml/pgaccess.sgml </entry><entry> Converted </entry></row>
  403. <row><entry> ./doc/src/sgml/ports.sgml </entry><entry> Supported/unsupported platforms </entry></row>
  404. <row><entry> ./doc/src/sgml/postgres.sgml </entry><entry> Container for all docs. Best for html output </entry></row>
  405. <row><entry> ./doc/src/sgml/programmer.sgml </entry><entry> Programmer's Guide </entry></row>
  406. <row><entry> ./doc/src/sgml/protocol.sgml </entry><entry> Converted </entry></row>
  407. <row><entry> ./doc/src/sgml/psql.sgml </entry><entry> Converted </entry></row>
  408. <row><entry> ./doc/src/sgml/query-ug.sgml </entry><entry> Converted </entry></row>
  409. <row><entry> ./doc/src/sgml/query.sgml </entry><entry> Converted </entry></row>
  410. <row><entry> ./doc/src/sgml/recovery.sgml </entry><entry> Database recovery </entry></row>
  411. <row><entry> ./doc/src/sgml/reference.sgml </entry><entry> Converted </entry></row>
  412. <row><entry> ./doc/src/sgml/regress.sgml </entry><entry> Regression testing </entry></row>
  413. <row><entry> ./doc/src/sgml/release.sgml </entry><entry> Converted </entry></row>
  414. <row><entry> ./doc/src/sgml/rules.sgml </entry><entry> Rule system </entry></row>
  415. <row><entry> ./doc/src/sgml/runtime.sgml </entry><entry> Runtime environment. New for v6.4 </entry></row>
  416. <row><entry> ./doc/src/sgml/security.sgml </entry><entry> Server security </entry></row>
  417. <row><entry> ./doc/src/sgml/signals.sgml </entry><entry> System signals for backend.  </entry></row>
  418. <row><entry> ./doc/src/sgml/spi.sgml </entry><entry> Converted. Original removed </entry></row>
  419. <row><entry> ./doc/src/sgml/start-ag.sgml </entry><entry> Converted </entry></row>
  420. <row><entry> ./doc/src/sgml/start.sgml </entry><entry> Converted </entry></row>
  421. <row><entry> ./doc/src/sgml/storage.sgml </entry><entry> Converted </entry></row>
  422. <row><entry> ./doc/src/sgml/syntax.sgml </entry><entry> SQL syntax. In UG </entry></row>
  423. <row><entry> ./doc/src/sgml/trigger.sgml </entry><entry> Converted </entry></row>
  424. <row><entry> ./doc/src/sgml/tutorial.sgml </entry><entry> Container for tutorial </entry></row>
  425. <row><entry> ./doc/src/sgml/typeconv.sgml </entry><entry> Datatype conversion. New for v6.4. In UG </entry></row>
  426. <row><entry> ./doc/src/sgml/user.sgml </entry><entry> User's Guide </entry></row>
  427. <row><entry> ./doc/src/sgml/xaggr.sgml </entry><entry> Converted </entry></row>
  428. <row><entry> ./doc/src/sgml/xfunc.sgml </entry><entry> Converted </entry></row>
  429. <row><entry> ./doc/src/sgml/xindex.sgml </entry><entry> Converted </entry></row>
  430. <row><entry> ./doc/src/sgml/xoper.sgml </entry><entry> Converted </entry></row>
  431. <row><entry> ./doc/src/sgml/xplang.sgml </entry><entry> Programming Language. New for v6.4 </entry></row>
  432. <row><entry> ./doc/src/sgml/xtypes.sgml </entry><entry> Converted </entry></row>
  433. <row><entry> ./doc/src/sgml/y2k.sgml </entry><entry> Y2K statement. New for v6.4 </entry></row>
  434. <row><entry> ./doc/src/sgml/ref/abort.sgml </entry><entry> New for v6.4 </entry></row>
  435. <row><entry> ./doc/src/sgml/ref/allfiles.sgml </entry><entry> List of files in ref/ (internal) </entry></row>
  436. <row><entry> ./doc/src/sgml/ref/alter_table.sgml </entry><entry> New for v6.4 </entry></row>
  437. <row><entry> ./doc/src/sgml/ref/alter_user.sgml </entry><entry> New for v6.4 </entry></row>
  438. <row><entry> ./doc/src/sgml/ref/begin.sgml </entry><entry> New for v6.4 </entry></row>
  439. <row><entry> ./doc/src/sgml/ref/close.sgml </entry><entry> New for v6.4 </entry></row>
  440. <row><entry> ./doc/src/sgml/ref/cluster.sgml </entry><entry> New for v6.4 </entry></row>
  441. <row><entry> ./doc/src/sgml/ref/commands.sgml </entry><entry> List of commands (internal) </entry></row>
  442. <row><entry> ./doc/src/sgml/ref/commit.sgml </entry><entry> New for v6.4 </entry></row>
  443. <row><entry> ./doc/src/sgml/ref/copy.sgml </entry><entry> New for v6.4 </entry></row>
  444. <row><entry> ./doc/src/sgml/ref/create_aggregate.sgml </entry><entry> New for v6.4 </entry></row>
  445. <row><entry> ./doc/src/sgml/ref/create_database.sgml </entry><entry> New for v6.4 </entry></row>
  446. <row><entry> ./doc/src/sgml/ref/create_function.sgml </entry><entry> New for v6.4 </entry></row>
  447. <row><entry> ./doc/src/sgml/ref/create_index.sgml </entry><entry> New for v6.4 </entry></row>
  448. <row><entry> ./doc/src/sgml/ref/create_language.sgml </entry><entry> New for v6.4 </entry></row>
  449. <row><entry> ./doc/src/sgml/ref/create_operator.sgml </entry><entry> New for v6.4 </entry></row>
  450. <row><entry> ./doc/src/sgml/ref/create_rule.sgml </entry><entry> New for v6.4 </entry></row>
  451. <row><entry> ./doc/src/sgml/ref/create_sequence.sgml </entry><entry> New for v6.4 </entry></row>
  452. <row><entry> ./doc/src/sgml/ref/create_table.sgml </entry><entry> New for v6.4 </entry></row>
  453. <row><entry> ./doc/src/sgml/ref/create_trigger.sgml </entry><entry> New for v6.4 </entry></row>
  454. <row><entry> ./doc/src/sgml/ref/create_type.sgml </entry><entry> New for v6.4 </entry></row>
  455. <row><entry> ./doc/src/sgml/ref/create_user.sgml </entry><entry> New for v6.4 </entry></row>
  456. <row><entry> ./doc/src/sgml/ref/create_view.sgml </entry><entry> New for v6.4 </entry></row>
  457. <row><entry> ./doc/src/sgml/ref/createdb.sgml </entry><entry> New for v6.4 </entry></row>
  458. <row><entry> ./doc/src/sgml/ref/createuser.sgml </entry><entry> New for v6.4 </entry></row>
  459. <row><entry> ./doc/src/sgml/ref/declare.sgml </entry><entry> New for v6.4 </entry></row>
  460. <row><entry> ./doc/src/sgml/ref/delete.sgml </entry><entry> New for v6.4 </entry></row>
  461. <row><entry> ./doc/src/sgml/ref/destroydb.sgml </entry><entry> New for v6.4 </entry></row>
  462. <row><entry> ./doc/src/sgml/ref/destroyuser.sgml </entry><entry> New for v6.4 </entry></row>
  463. <row><entry> ./doc/src/sgml/ref/drop_aggregate.sgml </entry><entry> New for v6.4 </entry></row>
  464. <row><entry> ./doc/src/sgml/ref/drop_database.sgml </entry><entry> New for v6.4 </entry></row>
  465. <row><entry> ./doc/src/sgml/ref/drop_function.sgml </entry><entry> New for v6.4 </entry></row>
  466. <row><entry> ./doc/src/sgml/ref/drop_index.sgml </entry><entry> New for v6.4 </entry></row>
  467. <row><entry> ./doc/src/sgml/ref/drop_language.sgml </entry><entry> New for v6.4 </entry></row>
  468. <row><entry> ./doc/src/sgml/ref/drop_operator.sgml </entry><entry> New for v6.4 </entry></row>
  469. <row><entry> ./doc/src/sgml/ref/drop_rule.sgml </entry><entry> New for v6.4 </entry></row>
  470. <row><entry> ./doc/src/sgml/ref/drop_sequence.sgml </entry><entry> New for v6.4 </entry></row>
  471. <row><entry> ./doc/src/sgml/ref/drop_table.sgml </entry><entry> New for v6.4 </entry></row>
  472. <row><entry> ./doc/src/sgml/ref/drop_trigger.sgml </entry><entry> New for v6.4 </entry></row>
  473. <row><entry> ./doc/src/sgml/ref/drop_type.sgml </entry><entry> New for v6.4 </entry></row>
  474. <row><entry> ./doc/src/sgml/ref/drop_user.sgml </entry><entry> New for v6.4 </entry></row>
  475. <row><entry> ./doc/src/sgml/ref/drop_view.sgml </entry><entry> New for v6.4 </entry></row>
  476. <row><entry> ./doc/src/sgml/ref/explain.sgml </entry><entry> New for v6.4 </entry></row>
  477. <row><entry> ./doc/src/sgml/ref/fetch.sgml </entry><entry> New for v6.4 </entry></row>
  478. <row><entry> ./doc/src/sgml/ref/grant.sgml </entry><entry> New for v6.4 </entry></row>
  479. <row><entry> ./doc/src/sgml/ref/initdb.sgml </entry><entry> New for v6.4 </entry></row>
  480. <row><entry> ./doc/src/sgml/ref/initlocation.sgml </entry><entry> New for v6.4 </entry></row>
  481. <row><entry> ./doc/src/sgml/ref/insert.sgml </entry><entry> New for v6.4 </entry></row>
  482. <row><entry> ./doc/src/sgml/ref/listen.sgml </entry><entry> New for v6.4 </entry></row>
  483. <row><entry> ./doc/src/sgml/ref/load.sgml </entry><entry> New for v6.4 </entry></row>
  484. <row><entry> ./doc/src/sgml/ref/lock.sgml </entry><entry> New for v6.4 </entry></row>
  485. <row><entry> ./doc/src/sgml/ref/move.sgml </entry><entry> New for v6.4 </entry></row>
  486. <row><entry> ./doc/src/sgml/ref/notify.sgml </entry><entry> New for v6.4 </entry></row>
  487. <row><entry> ./doc/src/sgml/ref/pg_dump.sgml </entry><entry> New for v6.4 </entry></row>
  488. <row><entry> ./doc/src/sgml/ref/pg_dumpall.sgml </entry><entry> New for v6.4 </entry></row>
  489. <row><entry> ./doc/src/sgml/ref/psql-ref.sgml </entry><entry> New for v6.4 </entry></row>
  490. <row><entry> ./doc/src/sgml/ref/reset.sgml </entry><entry> New for v6.4 </entry></row>
  491. <row><entry> ./doc/src/sgml/ref/revoke.sgml </entry><entry> New for v6.4 </entry></row>
  492. <row><entry> ./doc/src/sgml/ref/rollback.sgml </entry><entry> New for v6.4 </entry></row>
  493. <row><entry> ./doc/src/sgml/ref/select.sgml </entry><entry> New for v6.4 </entry></row>
  494. <row><entry> ./doc/src/sgml/ref/set.sgml </entry><entry> New for v6.4 </entry></row>
  495. <row><entry> ./doc/src/sgml/ref/show.sgml </entry><entry> New for v6.4 </entry></row>
  496. <row><entry> ./doc/src/sgml/ref/update.sgml </entry><entry> New for v6.4 </entry></row>
  497. <row><entry> ./doc/src/sgml/ref/vacuum.sgml </entry><entry> New for v6.4 </entry></row>
  498. <row><entry> ./doc/src/sgml/ref/unlisten.sgml </entry><entry> New for v6.4 </entry></row>
  499. <row><entry> ./doc/src/sgml/ref/vacuumdb.sgml </entry><entry> New for v6.4 </entry></row>
  500. <row><entry> ./doc/src/sgml/ref/pg_upgrade.sgml </entry><entry> New for v6.4 </entry></row>
  501. </tbody>
  502. </tgroup>
  503. </table>
  504. </para>
  505. </sect2>
  506. <sect2>
  507. <title>Document Conversion</title>
  508. <para>
  509. <table tocentry="1">
  510. <title><productname>Postgres</productname> Documentation Sources</title>
  511. <tgroup cols="3">
  512. <thead>
  513. <row>
  514. <entry>
  515. File
  516. </entry>
  517. <entry>
  518. Status
  519. </entry>
  520. </row>
  521. </thead>
  522. <tbody>
  523. <row><entry> ./HISTORY </entry><entry> Obsolete. Converted to release.sgml </entry></row>
  524. <row><entry> ./README </entry><entry> Not converted </entry></row>
  525. <row><entry> ./INSTALL </entry><entry> Obsolete. Converted to install.sgml </entry></row>
  526. <row><entry> ./contrib/README </entry><entry> Not converted </entry></row>
  527. <row><entry> ./contrib/apache_logging/README </entry><entry> Not converted </entry></row>
  528. <row><entry> ./contrib/array/array_iterator.doc </entry><entry> Not converted </entry></row>
  529. <row><entry> ./contrib/datetime/datetime_functions.doc </entry><entry> Not converted </entry></row>
  530. <row><entry> ./contrib/earthdistance/README </entry><entry> Not converted </entry></row>
  531. <row><entry> ./contrib/int8/README </entry><entry> Not converted </entry></row>
  532. <row><entry> ./contrib/ip_and_mac/README </entry><entry> Not converted </entry></row>
  533. <row><entry> ./contrib/lo/README </entry><entry> Not converted </entry></row>
  534. <row><entry> ./contrib/mSQL-interface/README </entry><entry> Not converted </entry></row>
  535. <row><entry> ./contrib/noupdate/noup.example </entry><entry> Not converted </entry></row>
  536. <row><entry> ./contrib/pginterface/README </entry><entry> Not converted </entry></row>
  537. <row><entry> ./contrib/sequence/set_sequence.sql.in </entry><entry> Not converted </entry></row>
  538. <row><entry> ./contrib/soundex/soundex.sql.in </entry><entry> Not converted </entry></row>
  539. <row><entry> ./contrib/spi/README </entry><entry> Not converted </entry></row>
  540. <row><entry> ./contrib/spi/autoinc.example </entry><entry> Not converted </entry></row>
  541. <row><entry> ./contrib/spi/insert_username.example </entry><entry> Not converted </entry></row>
  542. <row><entry> ./contrib/spi/refint.example </entry><entry> Not converted </entry></row>
  543. <row><entry> ./contrib/spi/timetravel.example </entry><entry> Not converted </entry></row>
  544. <row><entry> ./contrib/string/string_io.sql.in </entry><entry> Not converted </entry></row>
  545. <row><entry> ./contrib/unixdate/unixdate.sql </entry><entry> Not converted </entry></row>
  546. <row><entry> ./contrib/userlock/user_locks.doc </entry><entry> Not converted </entry></row>
  547. <row><entry> ./doc/FAQ </entry><entry> Not converted </entry></row>
  548. <row><entry> ./doc/FAQ_DEV </entry><entry> Not converted </entry></row>
  549. <row><entry> ./doc/FAQ_FreeBSD </entry><entry> Not converted </entry></row>
  550. <row><entry> ./doc/FAQ_Irix </entry><entry> Not converted </entry></row>
  551. <row><entry> ./doc/FAQ_Linux </entry><entry> Not converted </entry></row>
  552. <row><entry> ./doc/TODO </entry><entry> Not converted </entry></row>
  553. <row><entry> ./doc/README.GEQO </entry><entry> Removed. Superceded by geqo.sgml </entry></row>
  554. <row><entry> ./doc/README.fsync </entry><entry> Assimilate into Admin Guide </entry></row>
  555. <row><entry> ./doc/README.locale </entry><entry> Assimilate into Admin Guide </entry></row>
  556. <row><entry> ./doc/README.mb </entry><entry> Assimilate into Admin Guide </entry></row>
  557. <row><entry> ./doc/README.mb.jp </entry><entry> Not converted </entry></row>
  558. <row><entry> ./doc/README.support </entry><entry> Not converted </entry></row>
  559. <row><entry> ./doc/TODO.GEQO </entry><entry> Removed. Superceded by geqo.sgml </entry></row>
  560. <row><entry> ./doc/userguide.ps </entry><entry> Removed (converted to SGML) </entry></row>
  561. <row><entry> ./src/DEVELOPERS </entry><entry> Not converted </entry></row>
  562. <row><entry> ./src/backend/access/nbtree/README </entry><entry> Not converted </entry></row>
  563. <row><entry> ./src/backend/catalog/README </entry><entry> Not converted </entry></row>
  564. <row><entry> ./src/backend/libpq/pg_hba.conf.sample </entry><entry> Not converted </entry></row>
  565. <row><entry> ./src/backend/libpq/pg_ident.conf.sample </entry><entry> Not converted </entry></row>
  566. <row><entry> ./src/backend/nodes/README </entry><entry> Not converted </entry></row>
  567. <row><entry> ./src/backend/optimizer/README </entry><entry> Not converted </entry></row>
  568. <row><entry> ./src/backend/optimizer/geqo/pg_geqo.sample </entry><entry> Not converted </entry></row>
  569. <row><entry> ./src/backend/optimizer/plan/README </entry><entry> Not converted </entry></row>
  570. <row><entry> ./src/backend/parser/README </entry><entry> Not converted </entry></row>
  571. <row><entry> ./src/backend/port/dynloader/README.dlfcn.aix </entry><entry> Not converted </entry></row>
  572. <row><entry> ./src/backend/regex/COPYRIGHT </entry><entry> Not converted </entry></row>
  573. <row><entry> ./src/backend/regex/WHATSNEW </entry><entry> Not converted </entry></row>
  574. <row><entry> ./src/backend/regex/re_format.7 </entry><entry> Not converted </entry></row>
  575. <row><entry> ./src/backend/regex/regex.3 </entry><entry> Not converted </entry></row>
  576. <row><entry> ./src/backend/storage/ipc/README </entry><entry> Not converted </entry></row>
  577. <row><entry> ./src/backend/storage/lmgr/README </entry><entry> Not converted </entry></row>
  578. <row><entry> ./src/backend/storage/smgr/README </entry><entry> Not converted </entry></row>
  579. <row><entry> ./src/bin/pg_dump/README </entry><entry> Not converted </entry></row>
  580. <row><entry> ./src/bin/pgaccess/README.pga </entry><entry> Not converted </entry></row>
  581. <row><entry> ./src/bin/pgaccess/formdemo.sql </entry><entry> Not converted </entry></row>
  582. <row><entry> ./src/bin/pgtclsh/README </entry><entry> Not converted </entry></row>
  583. <row><entry> ./src/data/charset.conf </entry><entry> Not converted </entry></row>
  584. <row><entry> ./src/data/koi-alt.tab </entry><entry> Not converted </entry></row>
  585. <row><entry> ./src/data/koi-iso.tab </entry><entry> Not converted </entry></row>
  586. <row><entry> ./src/data/koi-koi.tab </entry><entry> Not converted </entry></row>
  587. <row><entry> ./src/data/koi-mac.tab </entry><entry> Not converted </entry></row>
  588. <row><entry> ./src/data/koi-win.tab </entry><entry> Not converted </entry></row>
  589. <row><entry> ./src/interfaces/ecpg/ChangeLog </entry><entry> Not converted </entry></row>
  590. <row><entry> ./src/interfaces/ecpg/TODO </entry><entry> Not converted </entry></row>
  591. <row><entry> ./src/interfaces/jdbc/README </entry><entry> Not converted </entry></row>
  592. <row><entry> ./src/interfaces/jdbc/README_6.3 </entry><entry> Not converted </entry></row>
  593. <row><entry> ./src/interfaces/jdbc/example/ImageViewer.java </entry><entry> Not converted </entry></row>
  594. <row><entry> ./src/interfaces/jdbc/example/basic.java </entry><entry> Not converted </entry></row>
  595. <row><entry> ./src/interfaces/jdbc/example/blobtest.java </entry><entry> Not converted </entry></row>
  596. <row><entry> ./src/interfaces/jdbc/example/datestyle.java </entry><entry> Not converted </entry></row>
  597. <row><entry> ./src/interfaces/jdbc/example/psql.java </entry><entry> Not converted </entry></row>
  598. <row><entry> ./src/interfaces/libpgtcl/README </entry><entry> Not converted </entry></row>
  599. <row><entry> ./src/interfaces/libpq/README </entry><entry> Not converted </entry></row>
  600. <row><entry> ./src/interfaces/libpq++/README </entry><entry> Not converted </entry></row>
  601. <row><entry> ./src/interfaces/libpq++/examples/testlibpq0.cc </entry><entry> Not converted </entry></row>
  602. <row><entry> ./src/interfaces/libpq++/examples/testlibpq1.cc </entry><entry> Not converted </entry></row>
  603. <row><entry> ./src/interfaces/libpq++/examples/testlibpq2.cc </entry><entry> Not converted </entry></row>
  604. <row><entry> ./src/interfaces/libpq++/examples/testlibpq2.sql </entry><entry> Not converted </entry></row>
  605. <row><entry> ./src/interfaces/libpq++/examples/testlibpq3.cc </entry><entry> Not converted </entry></row>
  606. <row><entry> ./src/interfaces/libpq++/examples/testlibpq3.sql </entry><entry> Not converted </entry></row>
  607. <row><entry> ./src/interfaces/libpq++/examples/testlibpq4.cc </entry><entry> Not converted </entry></row>
  608. <row><entry> ./src/interfaces/libpq++/examples/testlibpq4.sql </entry><entry> Not converted </entry></row>
  609. <row><entry> ./src/interfaces/libpq++/examples/testlibpq5.cc </entry><entry> Not converted </entry></row>
  610. <row><entry> ./src/interfaces/libpq++/examples/testlibpq5.sql </entry><entry> Not converted </entry></row>
  611. <row><entry> ./src/interfaces/libpq++/examples/testlibpq6.cc </entry><entry> Not converted </entry></row>
  612. <row><entry> ./src/interfaces/libpq++/examples/testlo.cc </entry><entry> Not converted </entry></row>
  613. <row><entry> ./src/interfaces/odbc/license.txt </entry><entry> Not converted </entry></row>
  614. <row><entry> ./src/interfaces/odbc/notice.txt </entry><entry> Not converted </entry></row>
  615. <row><entry> ./src/interfaces/odbc/readme.txt </entry><entry> Not converted </entry></row>
  616. <row><entry> ./src/interfaces/perl5/MANIFEST </entry><entry> Not converted </entry></row>
  617. <row><entry> ./src/interfaces/perl5/Changes </entry><entry> Not converted </entry></row>
  618. <row><entry> ./src/interfaces/perl5/eg/example.newstyle </entry><entry> Not converted </entry></row>
  619. <row><entry> ./src/interfaces/perl5/README </entry><entry> Not converted </entry></row>
  620. <row><entry> ./src/interfaces/python/Announce </entry><entry> Not converted </entry></row>
  621. <row><entry> ./src/interfaces/python/ChangeLog </entry><entry> Not converted </entry></row>
  622. <row><entry> ./src/interfaces/python/README </entry><entry> Not converted </entry></row>
  623. <row><entry> ./src/interfaces/python/tutorial/advanced.py </entry><entry> Not converted </entry></row>
  624. <row><entry> ./src/interfaces/python/tutorial/advanced.pyc </entry><entry> Not converted </entry></row>
  625. <row><entry> ./src/interfaces/python/tutorial/basics.py </entry><entry> Not converted </entry></row>
  626. <row><entry> ./src/interfaces/python/tutorial/func.py </entry><entry> Not converted </entry></row>
  627. <row><entry> ./src/interfaces/python/tutorial/func.pyc </entry><entry> Not converted </entry></row>
  628. <row><entry> ./src/interfaces/python/tutorial/pgtools.py </entry><entry> Not converted </entry></row>
  629. <row><entry> ./src/interfaces/python/tutorial/pgtools.pyc </entry><entry> Not converted </entry></row>
  630. <row><entry> ./src/interfaces/python/tutorial/syscat.py </entry><entry> Not converted </entry></row>
  631. <row><entry> ./src/interfaces/python/tutorial/syscat.pyc </entry><entry> Not converted </entry></row>
  632. <row><entry> ./src/man/README </entry><entry> Not converted </entry></row>
  633. <row><entry> ./src/man/abort.l </entry><entry> Not converted </entry></row>
  634. <row><entry> ./src/man/alter_table.l </entry><entry> Not converted </entry></row>
  635. <row><entry> ./src/man/alter_user.l </entry><entry> Split into Reference and Admin Guide </entry></row>
  636. <row><entry> ./src/man/begin.l </entry><entry> Not converted </entry></row>
  637. <row><entry> ./src/man/catalogs.3 </entry><entry> Catalog synopsis. Move to Programmer's Guide? </entry></row>
  638. <row><entry> ./src/man/cleardbdir.1 </entry><entry> Not converted </entry></row>
  639. <row><entry> ./src/man/close.l </entry><entry> Not converted </entry></row>
  640. <row><entry> ./src/man/cluster.l </entry><entry> Not converted </entry></row>
  641. <row><entry> ./src/man/commit.l </entry><entry> Not converted </entry></row>
  642. <row><entry> ./src/man/copy.l </entry><entry> Not converted </entry></row>
  643. <row><entry> ./src/man/create_aggregate.l </entry><entry> Not converted </entry></row>
  644. <row><entry> ./src/man/create_database.l </entry><entry> Not converted </entry></row>
  645. <row><entry> ./src/man/create_function.l </entry><entry> Not converted </entry></row>
  646. <row><entry> ./src/man/create_index.l </entry><entry> Not converted </entry></row>
  647. <row><entry> ./src/man/create_language.l </entry><entry> Not converted </entry></row>
  648. <row><entry> ./src/man/create_operator.l </entry><entry> Not converted </entry></row>
  649. <row><entry> ./src/man/create_rule.l </entry><entry> Not converted </entry></row>
  650. <row><entry> ./src/man/create_sequence.l </entry><entry> Not converted </entry></row>
  651. <row><entry> ./src/man/create_table.l </entry><entry> Not converted </entry></row>
  652. <row><entry> ./src/man/create_trigger.l </entry><entry> Not converted </entry></row>
  653. <row><entry> ./src/man/create_type.l </entry><entry> Not converted </entry></row>
  654. <row><entry> ./src/man/create_user.l </entry><entry> Not converted </entry></row>
  655. <row><entry> ./src/man/create_version.l </entry><entry> Not converted </entry></row>
  656. <row><entry> ./src/man/create_view.l </entry><entry> Not converted </entry></row>
  657. <row><entry> ./src/man/createdb.1 </entry><entry> Not converted </entry></row>
  658. <row><entry> ./src/man/createuser.1 </entry><entry> Not converted </entry></row>
  659. <row><entry> ./src/man/declare.l </entry><entry> Not converted </entry></row>
  660. <row><entry> ./src/man/delete.l </entry><entry> Not converted </entry></row>
  661. <row><entry> ./src/man/destroydb.1 </entry><entry> Not converted </entry></row>
  662. <row><entry> ./src/man/destroyuser.1 </entry><entry> Not converted </entry></row>
  663. <row><entry> ./src/man/drop.l </entry><entry> Not converted </entry></row>
  664. <row><entry> ./src/man/drop_aggregate.l </entry><entry> Not converted </entry></row>
  665. <row><entry> ./src/man/drop_database.l </entry><entry> Not converted </entry></row>
  666. <row><entry> ./src/man/drop_function.l </entry><entry> Not converted </entry></row>
  667. <row><entry> ./src/man/drop_index.l </entry><entry> Not converted </entry></row>
  668. <row><entry> ./src/man/drop_language.l </entry><entry> Not converted </entry></row>
  669. <row><entry> ./src/man/drop_operator.l </entry><entry> Not converted </entry></row>
  670. <row><entry> ./src/man/drop_rule.l </entry><entry> Not converted </entry></row>
  671. <row><entry> ./src/man/drop_sequence.l </entry><entry> Not converted </entry></row>
  672. <row><entry> ./src/man/drop_table.l </entry><entry> Not converted </entry></row>
  673. <row><entry> ./src/man/drop_trigger.l </entry><entry> Not converted </entry></row>
  674. <row><entry> ./src/man/drop_type.l </entry><entry> Not converted </entry></row>
  675. <row><entry> ./src/man/drop_user.l </entry><entry> Not converted </entry></row>
  676. <row><entry> ./src/man/drop_view.l </entry><entry> Not converted </entry></row>
  677. <row><entry> ./src/man/end.l </entry><entry> Not converted </entry></row>
  678. <row><entry> ./src/man/ecpg.1 </entry><entry> Short man page. Retain </entry></row>
  679. <row><entry> ./src/man/explain.l </entry><entry> Not converted </entry></row>
  680. <row><entry> ./src/man/fetch.l </entry><entry> Not converted </entry></row>
  681. <row><entry> ./src/man/grant.l </entry><entry> Not converted </entry></row>
  682. <row><entry> ./src/man/initdb.1 </entry><entry> Not converted </entry></row>
  683. <row><entry> ./src/man/initlocation.1 </entry><entry> Not converted </entry></row>
  684. <row><entry> ./src/man/insert.l </entry><entry> Not converted </entry></row>
  685. <row><entry> ./src/man/ipcclean.1 </entry><entry> Not converted </entry></row>
  686. <row><entry> ./src/man/listen.l </entry><entry> Not converted </entry></row>
  687. <row><entry> ./src/man/load.l </entry><entry> Not converted </entry></row>
  688. <row><entry> ./src/man/lock.l </entry><entry> Not converted </entry></row>
  689. <row><entry> ./src/man/move.l </entry><entry> Not converted </entry></row>
  690. <row><entry> ./src/man/notify.l </entry><entry> Not converted </entry></row>
  691. <row><entry> ./src/man/pg_dump.1 </entry><entry> Assimilate into Admin Guide </entry></row>
  692. <row><entry> ./src/man/pg_dumpall.1 </entry><entry> Assimilate into Admin Guide </entry></row>
  693. <row><entry> ./src/man/pg_upgrade.1 </entry><entry> Assimilate into Admin Guide </entry></row>
  694. <row><entry> ./src/man/pg_hba.conf.5 </entry><entry> Assimilate into Admin Guide </entry></row>
  695. <row><entry> ./src/man/pg_passwd.1 </entry><entry> Assimilate into Admin Guide </entry></row>
  696. <row><entry> ./src/man/pgintro.1 </entry><entry> Assimilate into User's Guide? </entry></row>
  697. <row><entry> ./src/man/postgres.1 </entry><entry> Assimilate into User's, Admin Guides </entry></row>
  698. <row><entry> ./src/man/postmaster.1 </entry><entry> Assimilate into User's, Admin Guides </entry></row>
  699. <row><entry> ./src/man/psql.1 </entry><entry> Not converted </entry></row>
  700. <row><entry> ./src/man/reset.l </entry><entry> Not converted </entry></row>
  701. <row><entry> ./src/man/revoke.l </entry><entry> Not converted </entry></row>
  702. <row><entry> ./src/man/rollback.l </entry><entry> Not converted </entry></row>
  703. <row><entry> ./src/man/select.l </entry><entry> Not converted </entry></row>
  704. <row><entry> ./src/man/set.l </entry><entry> Not converted </entry></row>
  705. <row><entry> ./src/man/show.l </entry><entry> Not converted </entry></row>
  706. <row><entry> ./src/man/sql.l </entry><entry> Not converted </entry></row>
  707. <row><entry> ./src/man/update.l </entry><entry> Not converted </entry></row>
  708. <row><entry> ./src/man/vacuum.l </entry><entry> Not converted </entry></row>
  709. <row><entry> ./src/pl/tcl/INSTALL </entry><entry> Not converted </entry></row>
  710. <row><entry> ./src/pl/tcl/modules/README </entry><entry> Not converted </entry></row>
  711. <row><entry> ./src/pl/tcl/license.terms </entry><entry> Not converted </entry></row>
  712. <row><entry> ./src/pl/tcl/test/README </entry><entry> Not converted </entry></row>
  713. <row><entry> ./src/pl/tcl/test/runtest </entry><entry> Not converted </entry></row>
  714. <row><entry> ./src/pl/tcl/test/test.expected </entry><entry> Not converted </entry></row>
  715. <row><entry> ./src/pl/tcl/test/test_mklang.sql </entry><entry> Not converted </entry></row>
  716. <row><entry> ./src/pl/tcl/test/test_queries.sql </entry><entry> Not converted </entry></row>
  717. <row><entry> ./src/pl/tcl/test/test_setup.sql </entry><entry> Not converted </entry></row>
  718. <row><entry> ./src/test/bench/WISC-README </entry><entry> Not converted </entry></row>
  719. <row><entry> ./src/test/locale/README </entry><entry> Not converted </entry></row>
  720. <row><entry> ./src/test/performance/results/PgSQL.970926 </entry><entry> Not converted </entry></row>
  721. <row><entry> ./src/test/regress/README </entry><entry> Not converted </entry></row>
  722. <row><entry> ./src/test/suite/README </entry><entry> Not converted </entry></row>
  723. <row><entry> ./src/tools/RELEASE_CHANGES </entry><entry> Not converted </entry></row>
  724. <row><entry> ./src/tools/SQL_keywords </entry><entry> Not converted </entry></row>
  725. <row><entry> ./src/tools/backend/README </entry><entry> Not converted </entry></row>
  726. <row><entry> ./src/tools/backend/flow.fig </entry><entry> Not converted </entry></row>
  727. <row><entry> ./src/tools/backend/flow.jpg </entry><entry> Not converted </entry></row>
  728. <row><entry> ./src/tools/make_keywords.README </entry><entry> Not converted </entry></row>
  729. <row><entry> ./src/tools/entab/entab.man </entry><entry> Not converted </entry></row>
  730. <row><entry> ./src/tools/make_diff/README </entry><entry> Not converted </entry></row>
  731. <row><entry> ./src/tools/mkldexport/README </entry><entry> Not converted </entry></row>
  732. <row><entry> ./src/tools/pgindent/README </entry><entry> Not converted </entry></row>
  733. <row><entry> ./src/tutorial/README </entry><entry> Not converted </entry></row>
  734. <row><entry> ./src/utils/README </entry><entry> Not converted </entry></row>
  735. <row><entry> ./lib/pg_hba.conf.sample </entry><entry> Not converted </entry></row>
  736. <row><entry> ./lib/pg_geqo.sample </entry><entry> Not converted </entry></row>
  737. </tbody>
  738. </tgroup>
  739. </table>
  740. </para>
  741. </sect2>
  742. <sect2>
  743. <title>Styles and Conventions</title>
  744. <para>
  745. <productname>DocBook</productname> has a rich set of tags and
  746. constructs, and a suprisingly large percentage are directly and
  747. obviously useful for well-formed documentation. The
  748. <productname>Postgres</productname> documentation set has only
  749. recently been adapted to <acronym>SGML</acronym>, and in the near
  750. future several sections of the set will be selected and maintained as
  751. prototypical examples of <productname>DocBook</productname> usage.
  752. Also, a short summary of <productname>DocBook</productname> tags will
  753. be included below.
  754. </para>
  755. <!--
  756. <para>
  757. <table tocentry="1">
  758. <title>SGML Constructs</title>
  759. <titleabbrev>SGML Constructs</titleabbrev>
  760. <tgroup cols="2">
  761. <thead>
  762.   <row>
  763.     <entry>SGML Tag</entry>
  764.     <entry>Usage</entry>
  765.   </row>
  766. </thead>
  767. <tbody>
  768.   <row>
  769.     <entry><sgmltag>book</sgmltag></entry>
  770.     <entry>Delimits a Book element</entry>
  771.   </row>
  772.   <row>
  773.     <entry><sgmltag>chapter</sgmltag></entry>
  774.     <entry>Delimits a Chapter element</entry>
  775.   </row>
  776.   <row>
  777.     <entry><sgmltag>appendix</sgmltag></entry>
  778.     <entry><sgmltag>Delimits a Appendix element</sgmltag></entry>
  779.   </row>
  780. </tbody>
  781. </tgroup>
  782. </table>
  783. </para>
  784. -->
  785. </sect2>
  786. <sect2>
  787. <title>SGML Authoring Tools</title>
  788. <para>
  789. The current <acronym>Postgres</acronym> documentation set was written using
  790. a plain text editor (or emacs/psgml; see below) with the content marked up using 
  791. <acronym>SGML</acronym> DocBook tags.
  792. </para>
  793. <para>
  794. <acronym>SGML</acronym> and <productname>DocBook</productname> do not suffer
  795. from an oversupply of open-source authoring tools. The most common toolset is
  796. the emacs/xemacs editing package with the psgml feature extension.
  797. On some systems (e.g. RedHat Linux) these tools are provided in a typical full installation.
  798. </para>
  799. <sect3>
  800. <title>emacs/psgml</title>
  801. <para>
  802. <application>emacs</application> (and <application>xemacs</application>) have
  803. an <acronym>SGML</acronym> <firstterm>major mode</firstterm>. When properly configured,
  804. this will allow you to use <application>emacs</application> to insert tags and
  805. check markup consistancy.
  806. </para>
  807. <para>
  808.      Put the following in your <filename>~/.emacs</filename> environment file:
  809. <programlisting>
  810. ; ********** for SGML mode (psgml)
  811. (setq sgml-catalog-files "/usr/lib/sgml/CATALOG")
  812. (setq sgml-local-catalogs "/usr/lib/sgml/CATALOG")
  813. (autoload 'sgml-mode "psgml" "Major mode to edit SGML files." t )
  814. </programlisting>
  815. and add an entry in the same file
  816. for <acronym>SGML</acronym> into the (existing) definition for
  817. auto-mode-alist:
  818. <programlisting>
  819. (setq
  820.   auto-mode-alist
  821.   '(("\.sgml$" . sgml-mode)
  822.    ))
  823. </programlisting>
  824. Each <acronym>SGML</acronym> source file has the following block at the
  825. end of the file:
  826. <programlisting>
  827. <sgmltag>!-- Keep this comment at the end of the file
  828. Local variables:
  829. mode: sgml
  830. sgml-omittag:t
  831. sgml-shorttag:t
  832. sgml-minimize-attributes:nil
  833. sgml-always-quote-attributes:t
  834. sgml-indent-step:1
  835. sgml-indent-data:t
  836. sgml-parent-document:nil
  837. sgml-default-dtd-file:"./reference.ced"
  838. sgml-exposed-tags:nil
  839. sgml-local-catalogs:"/usr/lib/sgml/catalog"
  840. sgml-local-ecat-files:nil
  841. End:
  842. --</sgmltag>
  843. </programlisting>
  844. </para>
  845. <para>
  846.      The <productname>Postgres</productname> distribution includes a
  847.      parsed DTD definitions file <filename>reference.ced</filename>.
  848. You may find that
  849. </para>
  850. <para>
  851. When using <application>emacs</application>/psgml, a comfortable way of working with
  852. these separate files of book parts is to insert a proper DOCTYPE
  853. declaration while you're editing them.  If you are working on this source, for instance,
  854. it's an appendix chapter, so you would specify the document as an "appendix" instance of
  855. a DocBook document by making the first line look like this:
  856. <programlisting>
  857. <sgmltag>!doctype appendix PUBLIC "-//Davenport//DTD DocBook V3.0//EN"</sgmltag>
  858. </programlisting>
  859. This means that anything and everything that reads <acronym>SGML</acronym> will get it
  860. right, and I can verify the document with "nsgmls -s docguide.sgml".
  861. </para>
  862. </sect3>
  863. </sect2>
  864. </sect1>
  865.  <sect1>
  866.   <title>Building Documentation</title>
  867.   <para>
  868.    GNU <application>make</application> is used to build documentation
  869.    from the DocBook sources. There are a few environment definitions
  870.    which may need to be set or modified for your installation.
  871.    The <filename>Makefile</filename> looks for
  872.    <filename>doc/../src/Makefile</filename> and (implicitly) for
  873.    <filename>doc/../src/Makefile.custom</filename> to obtain
  874.    environment information. On my system, the
  875.    <filename>src/Makefile.custom</filename> looks like
  876.    <programlisting>
  877. # Makefile.custom
  878. # Thomas Lockhart 1998-03-01
  879. POSTGRESDIR= /opt/postgres/current
  880. CFLAGS+= -m486
  881. YFLAGS+= -v
  882. # documentation
  883. HSTYLE= /home/tgl/SGML/db107.d/docbook/html
  884. PSTYLE= /home/tgl/SGML/db107.d/docbook/print
  885.    </programlisting>
  886.    where HSTYLE and PSTYLE determine the path to
  887.    <filename>docbook.dsl</filename> for <acronym>HTML</acronym>
  888.    and hardcopy (print) stylesheets, respectively. These stylesheet
  889.    file names are for Norm Walsh's
  890.    <productname>Modular Style Sheets</productname>; if other
  891.    stylesheets are used then one can define HDSL and PDSL as the full path
  892.    and file name for the stylesheet, as is done above for HSTYLE and PSTYLE.
  893.    On many systems, these stylesheets will be found in packages installed in 
  894.    <filename>/usr/lib/sgml/</filename>,
  895.    <filename>/usr/share/lib/sgml/</filename>,
  896.    or
  897.    <filename>/usr/local/lib/sgml/</filename>.
  898.   </para>
  899.   <para>
  900.    <acronym>HTML</acronym> documentation packages can be generated
  901.    from the <acronym>SGML</acronym> source by typing
  902.    <programlisting>
  903. % cd doc/src
  904. % make tutorial.tar.gz
  905. % make user.tar.gz
  906. % make admin.tar.gz
  907. % make programmer.tar.gz
  908. % make postgres.tar.gz
  909. % make install
  910.    </programlisting>
  911.   </para>
  912.   <para>
  913.    These packages can be installed from the main documentation directory
  914.    by typing
  915.    <programlisting>
  916. % cd doc
  917. % make install
  918.    </programlisting>
  919.   </para>
  920.  </sect1>
  921.  <sect1>
  922.   <title>Manpages</title>
  923.   <para>
  924.    We use the <application>docbook2man</application> utility to
  925.    convert <productname>DocBook</productname>
  926.    <sgmltag>REFENTRY</sgmltag> pages to *roff output suitable for man
  927.    pages. At the time of writing, the utility required patching to
  928.    successfully run on the <productname>Postgres</productname> markup, 
  929.    and we added a small amount of new functionality to allow setting
  930.    the man page section in the output file name.
  931.   </para>
  932.   <para>
  933.    <application>docbook2man</application> is written in perl, and
  934.    requires the CPAN package <literal>SGMLSpm</literal> to run. Also,
  935.    it requires <application>nsgmls</application> to be available,
  936.    which is included in the <application>jade</application>
  937.    distribution. After installing these packages, then simply run
  938.    <programlisting>
  939. $ cd doc/src
  940. $ make man
  941.    </programlisting>
  942.    which will result in a tar file being generated in the
  943.    <filename>doc/src</filename> directory.
  944.   </para>
  945.   <procedure>
  946.    <title>docbook2man Installation Procedure</title>
  947.    <step performance="required">
  948.     <para>
  949.      Install the <application>docbook2man</application> package,
  950.      available at
  951.      <ulink url="http://shell.ipoline.com/~elmert/comp/docbook2X/">http://shell.ipoline.com/~elmert/comp/docbook2X/</ulink>
  952.     </para>
  953.    </step>
  954.    <step performance="required">
  955.     <para>
  956.      Install the SGMLSpm perl module, available from CPAN mirrors.
  957.     </para>
  958.    </step>
  959.    <step performance="required">
  960.     <para>
  961.      Install <application>nsgmls</application> if not already
  962.      available from your <application>jade</application> installation.
  963.     </para>
  964.    </step>
  965.   </procedure>
  966.  </sect1>
  967.  <sect1>
  968.   <title>Hardcopy Generation for v6.5</title>
  969.   <para>
  970.    The hardcopy Postscript documentation is generated by converting the
  971.    <acronym>SGML</acronym> source code to <acronym>RTF</acronym>, then
  972.    importing into <productname>ApplixWare-4.4.1</productname>. 
  973.    After a little cleanup (see the following
  974.    section) the output is "printed" to a postscript file.
  975.   </para>
  976. <!--
  977.   <para>
  978.    Some figures were redrawn to avoid having bitmap
  979.    <acronym>GIF</acronym> files in the hardcopy documentation. One
  980.    figure, of the system catalogs, was sufficiently complex that there
  981.    was  not time to redraw it. It was converted to fit using the
  982.    following commands:
  983.    <programlisting>
  984. % convert -monochrome -v -geometry 500x500'>' catalogs.ps catalogs.gif
  985. % convert -v -crop 400x500 catalogs.gif catalogs-cropped.gif
  986.    </programlisting>
  987.   </para>
  988. -->
  989.   <sect2>
  990.    <title>Text Hardcopy</title>
  991.    <para>
  992.     <filename>INSTALL</filename> and <filename>HISTORY</filename> are
  993.     updated for each release. For historical reasons, these files are
  994.     in plain text, but are derived from the newer
  995.     <acronym>SGML</acronym> sources.
  996.    </para>
  997.    <procedure>
  998.     <title>Plain Text Generation</title>
  999.     <para>
  1000.      Both <filename>INSTALL</filename> and
  1001.      <filename>HISTORY</filename> are generated from existing
  1002.      <acronym>SGML</acronym> sources. They are extracted from the same 
  1003.      intermediate <acronym>RTF</acronym> file.
  1004.     </para>
  1005.     <step performance="required">
  1006.      <para>
  1007.       Generate <acronym>RTF</acronym> by typing:
  1008.       <programlisting>
  1009. % cd doc/src/sgml
  1010. % make installation.rtf
  1011.       </programlisting>
  1012.      </para>
  1013.     </step>
  1014.       
  1015.     <step performance="required">
  1016.      <para>
  1017.       Import <filename>installation.rtf</filename> into
  1018.       <productname>Applix Words</productname>.
  1019.      </para>
  1020.     </step>
  1021.     <step performance="required">
  1022.      <para>
  1023.       Set the page width and margins.
  1024.      </para>
  1025.      <substeps>
  1026.       <step performance="required">
  1027.        <para>
  1028. Adjust the page width in File.PageSetup to 10 inches.
  1029.        </para>
  1030.       </step>
  1031.       <step performance="required">
  1032.        <para>
  1033. Select all text.
  1034. Adjust the right margin using the ruler to 9.5 inches. This
  1035. will give a maximum column width of 79 characters, within the
  1036. 80 columns upper limit goal.
  1037.        </para>
  1038.       </step>
  1039.      </substeps>
  1040.     </step>
  1041.     <step performance="required">
  1042.      <para>
  1043.       Lop off the parts of the document which are not needed.
  1044.      </para>
  1045.      <para>
  1046.       For <filename>INSTALL</filename>, remove all release notes from
  1047.       the end of the text, except for those from the current release.
  1048.       For <filename>HISTORY</filename>, remove all text up to the
  1049.       release notes, preserving and modifying the title and ToC.
  1050.      </para>
  1051.     </step>
  1052.     <step performance="required">
  1053.      <para>
  1054.       Export the result as <quote>ASCII Layout</quote>.
  1055.      </para>
  1056.     </step>
  1057.     <step performance="required">
  1058.      <para>
  1059.       Using emacs or vi, clean up the tabular information in
  1060.       <filename>INSTALL</filename>. Remove the <quote>mailto</quote>
  1061.       <acronym>URLs</acronym> for the porting contributors to shrink
  1062.       the column heights.
  1063.      </para>
  1064.     </step>
  1065.    </procedure>
  1066.   </sect2>
  1067.   <sect2>
  1068.    <title>Postscript Hardcopy</title>
  1069.    <para>
  1070.     Several items must be addressed in generating Postscript
  1071.     hardcopy:</para>
  1072.    <procedure>
  1073.     <title>Applixware <acronym>RTF</acronym> Cleanup</title>
  1074.     <para>
  1075.      Applixware does not seem to do a complete job of importing <acronym>RTF</acronym>
  1076.      generated by jade/MSS. In particular, all text is given the
  1077.      <quote>Header1</quote> style attribute label, although the text
  1078.      formatting itself is acceptable. Also, the Table of Contents page
  1079.      numbers do not refer to the section listed in the table, but rather
  1080.      refer to the page of the ToC itself.</para>
  1081.     <step performance="required">
  1082.      <para>
  1083.       Generate the <acronym>RTF</acronym> input by typing (for example):
  1084.       <programlisting>
  1085. % cd doc/src/sgml
  1086. % make tutorial.rtf
  1087.       </programlisting>
  1088.      </para>
  1089.     </step>
  1090.     <step performance="required">
  1091.      <para>
  1092.       Open a new document in <productname>Applix Words</productname> and
  1093.       then import the <acronym>RTF</acronym> file.
  1094.      </para>
  1095.     </step>
  1096.     <step performance="required">
  1097.      <para>
  1098.       Print out the existing Table of Contents, to mark up in the following
  1099.       few steps.
  1100.      </para>
  1101.     </step>
  1102.     <step performance="required">
  1103.      <para>
  1104.       Insert figures into the document. Center each figure on the page using
  1105.       the centering margins button.</para>
  1106.      <para>
  1107.       Not all documents have figures.
  1108.       You can grep the <acronym>SGML</acronym> source files for
  1109.       the string <quote>graphic</quote> to identify those parts of the
  1110.       documentation which may have figures. A few figures are replicated in
  1111.       various parts of the documentation.
  1112.      </para>
  1113.     </step>
  1114.     <step performance="required">
  1115.      <para>
  1116.       Work through the document, adjusting page breaks and table column
  1117.       widths.
  1118.      </para>
  1119.     </step>
  1120.     <step performance="required">
  1121.      <para>
  1122.       If a bibliography is present, Applix Words seems to mark all remaining
  1123.       text after the first title as having an underlined attribute. Select
  1124.       all remaining text, turn off underlining using the underlining button,
  1125.       then explicitly underline each document and book title.
  1126.      </para>
  1127.     </step>
  1128.     <step performance="required">
  1129.      <para>
  1130.       Work through the document, marking up the ToC hardcopy with the actual
  1131.       page number of each ToC entry.
  1132.      </para>
  1133.     </step>
  1134.     <step performance="required">
  1135.      <para>
  1136.       Replace the right-justified incorrect page numbers in the ToC with
  1137.       correct values. This only takes a few minutes per document.
  1138.      </para>
  1139.     </step>
  1140.     <step performance="required">
  1141.      <para>
  1142.       Save the document as native Applix Words format to allow easier last
  1143.       minute editing later.
  1144.      </para>
  1145.     </step>
  1146.     <step performance="required">
  1147.      <para>
  1148.       <quote>Print</quote> the document
  1149.       to a file in Postscript format.
  1150.      </para>
  1151.     </step>
  1152.     <step performance="required">
  1153.      <para>
  1154.       Compress the Postscript file using <application>gzip</application>.
  1155.       Place the compressed file into the <filename>doc</filename> directory.
  1156.      </para>
  1157.     </step>
  1158.    </procedure>
  1159.   </sect2>
  1160. </sect1>
  1161. <sect1>
  1162. <title>Toolsets</title>
  1163. <para>
  1164. We have documented experience with two installation methods for the
  1165. various tools that are needed to process the documentation.  One is
  1166. installation from <acronym>RPM</acronym>s on
  1167. <productname>Linux</productname>, the other is a general installation
  1168. from original distributions of the individual tools.  Both will be
  1169. described below.</para>
  1170. <para>
  1171. We understand that there are some other packaged distributions for
  1172. these tools.  <productname>FreeBSD</productname> seems to have them
  1173. available.  Please report package status to the docs mailing list and
  1174. we will include that information here.
  1175. </para>
  1176. <sect2>
  1177. <title><acronym>RPM</acronym> installation on
  1178. <productname>Linux</productname></title>
  1179. <para>
  1180. Install <ulink url="ftp://ftp.cygnus.com/pub/home/rosalia/">
  1181. <acronym>RPM</acronym>s</ulink> for <productname>Jade</productname>
  1182. and related packages.
  1183. </para>
  1184. </sect2>
  1185. <sect2>
  1186. <title>Manual installation of tools</title>
  1187. <para>
  1188. This is a brief run-through of the process of obtaining and
  1189. installing the software you'll need to edit DocBook source with Emacs
  1190. and process it with Norman Walsh's DSSSL style sheets to create <acronym>HTML</acronym>
  1191. and <acronym>RTF</acronym>.
  1192. </para>
  1193. <para>
  1194. These instructions do not cover new <application>jade</application>/DocBook
  1195. support in the 
  1196. <ulink url="http://www.sgmltools.org/"><productname>sgml-tools</productname></ulink>
  1197. package. The authors have not tried this package since it adopted DocBook, 
  1198. but it is almost certainly a good candidate for use.
  1199. </para>
  1200. <sect3><title>Prerequisites</title>
  1201. <para>What you need:
  1202. <itemizedlist>
  1203. <listitem><para>A working installation of GCC 2.7.2</para></listitem>
  1204. <listitem><para>A working installation of Emacs 19.19 or later</para></listitem>
  1205. <listitem><para>An unzip program for UNIX to unpack things</para></listitem>
  1206. </itemizedlist>
  1207. </para>
  1208. <para>What you must fetch:
  1209. <itemizedlist>
  1210. <listitem>
  1211. <para><ulink url="ftp://ftp.jclark.com/pub/jade/">
  1212. James Clark's <productname>Jade</productname></ulink>
  1213. (version 1.1 in file <filename>jade1_1.zip</filename> was current at the time of writing)
  1214. </para></listitem>
  1215. <listitem>
  1216. <para><ulink url="http://www.ora.com/davenport/docbook/current/docbk30.zip">
  1217. <productname>DocBook</productname> version 3.0</ulink>
  1218. </para></listitem>
  1219. <listitem>
  1220. <para><ulink url="http://nwalsh.com/docbook/dsssl/">
  1221. Norman Walsh's <productname>Modular Stylesheets</productname></ulink>
  1222. (version 1.19 was used to produce these documents)
  1223. </para></listitem>
  1224. <listitem>
  1225. <para><ulink url="ftp://ftp.lysator.liu.se/pub/sgml/">
  1226. Lennart Staflin's <productname>PSGML</productname></ulink>
  1227. (version 1.0.1 in <filename>psgml-1.0.1.tar.gz</filename> was available at the time of writing)
  1228. </para></listitem>
  1229. </itemizedlist>
  1230. </para>
  1231. <para>Important URLs:
  1232. <itemizedlist>
  1233. <listitem><para><ulink url="http://www.jclark.com/jade/">
  1234. The <productname>Jade</productname> web page</ulink></para></listitem>
  1235. <listitem><para><ulink url="http://www.ora.com/davenport/">
  1236. The <productname>DocBook</productname> web page</ulink></para></listitem>
  1237. <listitem><para><ulink url="http://nwalsh.com/docbook/dsssl/">
  1238. The <productname>Modular Stylesheets</productname> web page</ulink>
  1239. </para></listitem>
  1240. <listitem><para>
  1241. <ulink url="http://www.lysator.liu.se/projects/about_psgml.html">
  1242. The <productname>PSGML</productname> web page</ulink></para></listitem>
  1243. <listitem><para><ulink url="http://www.infotek.no/sgmltool/guide.htm">
  1244. Steve Pepper's Whirlwind Guide</ulink></para></listitem>
  1245. <listitem><para><ulink url="http://www.sil.org/sgml/publicSW.html">
  1246. Robin Cover's database of <acronym>SGML</acronym> software</ulink></para></listitem>
  1247. </itemizedlist>
  1248. </para>
  1249. </sect3>
  1250. <sect3>
  1251. <title>Installing Jade</title>
  1252. <procedure>
  1253. <title>Installing Jade</title>
  1254. <step performance="required">
  1255. <para>
  1256. Read the installation instructions at the above listed
  1257. URL.
  1258. </para>
  1259. </step>
  1260. <step performance="required">
  1261. <para>
  1262. Unzip the distribution kit in a suitable place.  The command to do
  1263. this will be something like
  1264. <programlisting>
  1265. unzip -aU jade1_1.zip
  1266. </programlisting>
  1267. </para>
  1268. </step>
  1269. <step performance="required">
  1270. <para><productname>Jade</productname> is not built using
  1271. <productname>GNU Autoconf</productname>, so you'll need to edit a
  1272. <filename>Makefile</filename> yourself.  Since James Clark has been
  1273. good enough to prepare his kit for it, it is a good idea to make a
  1274. build directory (named for your machine architecture, perhaps) under
  1275. the main directory of the <productname>Jade</productname>
  1276. distribution, copy the file <filename>Makefile</filename> from the
  1277. main directory into it, edit it there, and then run
  1278. <command>make</command> there.</para>
  1279. <para>However, the <filename>Makefile</filename> does need to be
  1280. edited.  There is a file called <filename>Makefile.jade</filename> in
  1281. the main directory, which is intended to be used with <command>make -f
  1282. Makefile.jade</command> when building <productname>Jade</productname>
  1283. (as opposed to just <productname>SP</productname>, the <acronym>SGML</acronym> parser kit
  1284. that <productname>Jade</productname> is built upon). We suggest that
  1285. you don't do that, though, since there is more that you need to change
  1286. than what is in <filename>Makefile.jade</filename>, so you'd have to
  1287. edit one of them anyway.</para>
  1288. <para>Go through the <filename>Makefile</filename>, reading James'
  1289. instructions and editing as needed.  There are various variables that
  1290. need to be set.  Here is a collected summary of the most important
  1291. ones, with typical values:
  1292. <programlisting>
  1293. prefix = /usr/local
  1294. XDEFINES = -DSGML_CATALOG_FILES_DEFAULT="/usr/local/share/sgml/catalog"
  1295. XLIBS = -lm
  1296. RANLIB = ranlib
  1297. srcdir = ..
  1298. XLIBDIRS = grove spgrove style
  1299. XPROGDIRS = jade
  1300. </programlisting>
  1301. Note the specification of where to find the default catalog of
  1302. <acronym>SGML</acronym> support files -- you may want to change that
  1303. to something more suitable for your own installation.  If your system
  1304. doesn't need the above settings for the math library and the
  1305. <command>ranlib</command> command, leave them as they are in the
  1306. <filename>Makefile</filename>.
  1307. </para>
  1308. </step>
  1309. <step performance="required">
  1310. <para>Type <command>make</command> to build Jade and the various
  1311. <productname>SP</productname> tools.</para>
  1312. </step>
  1313. <step performance="required">
  1314. <para>Once the software is built, <command>make install</command> will
  1315. do the obvious.</para>
  1316. </step>
  1317. </procedure>
  1318. </sect3>
  1319. <sect3>
  1320. <title>Installing the <productname>DocBook</productname> <acronym>DTD</acronym> Kit</title>
  1321. <procedure>
  1322. <title>Installing the <productname>DocBook</productname> <acronym>DTD</acronym> Kit</title>
  1323. <step performance="required">
  1324. <para>You'll want to place the files that make up the
  1325. <productname>DocBook</productname> <acronym>DTD</acronym> kit in the
  1326. directory you built <productname>Jade</productname> to expect them in,
  1327. which, if you followed our suggestion above, is
  1328. <filename>/usr/local/share/sgml/</filename>.  In addition to the
  1329. actual <productname>DocBook</productname> files, you'll need to have a
  1330. <filename>catalog</filename> file in place, for the mapping of
  1331. document type specifications and external entity references to actual
  1332. files in that directory.  You'll also want the <acronym>ISO</acronym>
  1333. character set mappings, and probably one or more versions of
  1334. <acronym>HTML</acronym>.</para>
  1335. <para>One way to install the various <acronym>DTD</acronym> and
  1336. support files and set up the <filename>catalog</filename> file, is to
  1337. collect them all into the above mentioned directory, use a single file
  1338. named <filename>CATALOG</filename> to describe them all, and then
  1339. create the file <filename>catalog</filename> as a catalog pointer to
  1340. the former, by giving it the single line of content:
  1341. <programlisting>
  1342. CATALOG /usr/local/share/sgml/CATALOG
  1343. </programlisting>
  1344. </para>
  1345. </step>
  1346. <step performance="required">
  1347. <para>
  1348. The <filename>CATALOG</filename> file should then contain three types
  1349. of lines.  The first is the (optional) <acronym>SGML</acronym>
  1350. declaration, thus:
  1351. <programlisting>
  1352. SGMLDECL docbook.dcl
  1353. </programlisting>
  1354. Next, the various references to <acronym>DTD</acronym> and entity
  1355. files must be resolved.  For the <productname>DocBook</productname>
  1356. files, these lines look like this:
  1357. <programlisting>
  1358. PUBLIC "-//Davenport//DTD DocBook V3.0//EN" docbook.dtd
  1359. PUBLIC "-//USA-DOD//DTD Table Model 951010//EN" cals-tbl.dtd
  1360. PUBLIC "-//Davenport//ELEMENTS DocBook Information Pool V3.0//EN" dbpool.mod
  1361. PUBLIC "-//Davenport//ELEMENTS DocBook Document Hierarchy V3.0//EN" dbhier.mod
  1362. PUBLIC "-//Davenport//ENTITIES DocBook Additional General Entities V3.0//EN" dbgenent.mod
  1363. </programlisting>
  1364. </para>
  1365. </step>
  1366. <step performance="required">
  1367. <para>
  1368. Of course, a file containing these comes with the
  1369. <productname>DocBook</productname> kit.  Note that the last item on
  1370. each of these lines is a file name, given here without a path.  You
  1371. can put the files in subdirectories of your main
  1372. <acronym>SGML</acronym> directory if you like, of course, and modify
  1373. the reference in the <filename>CATALOG</filename> file.
  1374. <productname>DocBook</productname> also references the
  1375. <acronym>ISO</acronym> character set entities, so you need to fetch
  1376. and install these (they are available from several sources, and are
  1377. easily found by way of the URLs listed above), along with catalog
  1378. entries for all of them, such as:
  1379. <programlisting>
  1380. PUBLIC "ISO 8879-1986//ENTITIES Added Latin 1//EN" ISO/ISOlat1
  1381. </programlisting>
  1382. Note how the file name here contains a directory name, showing that
  1383. we've placed the <acronym>ISO</acronym> entity files in a subdirectory
  1384. named <filename>ISO</filename>.  Again, proper catalog entries should
  1385. accompany the entity kit you fetch.
  1386. </para>
  1387. </step>
  1388. </procedure>
  1389. </sect3>
  1390. <sect3>
  1391. <title>Installing Norman Walsh's <acronym>DSSSL</acronym> Style Sheets</title>
  1392. <procedure>
  1393. <title>Installing Norman Walsh's <acronym>DSSSL</acronym> Style Sheets</title>
  1394. <step performance="required">
  1395. <para>Read the installation instructions at the above listed
  1396. URL.</para>
  1397. </step>
  1398. <step performance="required">
  1399. <para>To install Norman's style sheets, simply unzip the distribution
  1400. kit in a suitable place.  A good place to dot this would be
  1401. <filename>/usr/local/share</filename>, which places the kit in a
  1402. directory tree under <filename>/usr/local/share/docbook</filename>.
  1403. The command will be something like
  1404. <programlisting>
  1405. unzip -aU db119.zip
  1406. </programlisting>
  1407. </para>
  1408. </step>
  1409. <step performance="required">
  1410. <para>One way to test the installation is to build the
  1411. <acronym>HTML</acronym> and <acronym>RTF</acronym> forms of the
  1412. <citetitle><productname>PostgreSQL</productname> User's Guide</citetitle>.
  1413. </para>
  1414. <substeps>
  1415. <step performance="required">
  1416. <para>
  1417. To build the <acronym>HTML</acronym> files,
  1418.  go to the <acronym>SGML</acronym> source
  1419. directory, <filename>doc/src/sgml</filename>, and say
  1420. <programlisting>
  1421. jade -t sgml -d /usr/local/share/docbook/html/docbook.dsl -D ../graphics postgres.sgml
  1422. </programlisting>
  1423. </para>
  1424. <para>
  1425. <filename>book1.htm</filename> is the top level node of the output..
  1426. </para>
  1427. </step>
  1428. <step performance="required">
  1429. <para>
  1430. To generate the <acronym>RTF</acronym> output, ready for importing
  1431. into your favorite word processing system and printing, type:
  1432. <programlisting>
  1433. jade -t rtf -d /usr/local/share/docbook/print/docbook.dsl -D ../graphics postgres.sgml
  1434. </programlisting>
  1435. </para>
  1436. </step>
  1437. </substeps>
  1438. </step>
  1439. </procedure>
  1440. </sect3>
  1441. <sect3>
  1442. <title>Installing <productname>PSGML</productname></title>
  1443. <procedure>
  1444. <title>Installing <productname>PSGML</productname></title>
  1445. <step performance="required">
  1446. <para>Read the installation instructions at the above listed
  1447. URL.</para>
  1448. </step>
  1449. <step performance="required">
  1450. <para>Unpack the distribution file, run configure, make and make
  1451. install to put the byte-compiled files and info library in place.
  1452. </para>
  1453. </step>
  1454. <step performance="required" id="psgml-setup">
  1455. <para>
  1456. Then add the following lines to your
  1457. <filename>/usr/local/share/emacs/site-lisp/site-start.el</filename>
  1458. file to make <productname>Emacs</productname> properly load
  1459. <productname>PSGML</productname> when needed:
  1460. <programlisting>
  1461. (setq load-path
  1462.       (cons "/usr/local/share/emacs/site-lisp/psgml" load-path))
  1463. (autoload 'sgml-mode "psgml" "Major mode to edit SGML files." t)
  1464. </programlisting>
  1465. </para>
  1466. </step>
  1467. <step performance="optional">
  1468. <para>
  1469. If you want to use <productname>PSGML</productname> when editing
  1470. <acronym>HTML</acronym> too, also add this:
  1471. <programlisting>
  1472. (setq auto-mode-alist
  1473.       (cons '("\.s?html?\'" . sgml-mode) auto-mode-alist))
  1474. </programlisting>
  1475. </para>
  1476. </step>
  1477. <step performance="optional">
  1478. <para>There is one important thing to note with
  1479. <productname>PSGML</productname>: its author assumed that your main
  1480. <acronym>SGML</acronym> <acronym>DTD</acronym> directory would be
  1481. <filename>/usr/local/lib/sgml</filename>.  If, as in the examples in
  1482. this chapter, you use <filename>/usr/local/share/sgml</filename>, you
  1483. have to compensate for this.
  1484. </para>
  1485. <substeps>
  1486. <step performance="optional">
  1487. <para>
  1488. You can set the
  1489. <filename>SGML_CATALOG_FILES</filename> environment variable.
  1490. </para>
  1491. </step>
  1492. <step performance="optional">
  1493. <para>
  1494. You can
  1495. customize your <productname>PSGML</productname> installation (its
  1496. manual tells you how).
  1497. </para>
  1498. </step>
  1499. <step performance="optional">
  1500. <para>
  1501. You can even edit the source file
  1502. <filename>psgml.el</filename> before compiling and installing
  1503. <productname>PSGML</productname>, changing the hard-coded paths to
  1504. match your own default.</para>
  1505. </step>
  1506. </substeps>
  1507. </step>
  1508. </procedure>
  1509. </sect3>
  1510. <sect3><title>Installing <productname>JadeTeX</productname></title>
  1511. <para>If you want to, you can also install
  1512. <productname>JadeTeX</productname> to use
  1513. <productname>TeX</productname> as a formatting backend for
  1514. <productname>Jade</productname>.  Note that this is still quite
  1515. unpolished software, and will generate printed output that is inferior
  1516. to what you get from the <acronym>RTF</acronym> backend.  Still, it
  1517. works all right, especially for simpler documents that don't use
  1518. tables, and as both <productname>JadeTeX</productname> and the style
  1519. sheets are under continuous improvement, it will certainly get better
  1520. over time.</para>
  1521. <para>To install and use <productname>JadeTeX</productname>, you will
  1522. need a working installation of <productname>TeX</productname> and
  1523. <productname>LaTeX2e</productname>, including the supported
  1524. <productname>tools</productname> and
  1525. <productname>graphics</productname> packages,
  1526. <productname>Babel</productname>, <productname><acronym>AMS</acronym>
  1527. fonts</productname> and <productname>AMS-LaTeX</productname>, the
  1528. <productname><acronym>PSNFSS</acronym></productname> extension and
  1529. companion kit of "the 35 fonts", the <productname>dvips</productname>
  1530. program for generating <productname>PostScript</productname>, the
  1531. macro packages <productname>fancyhdr</productname>,
  1532. <productname>hyperref</productname>,
  1533. <productname>minitoc</productname>, <productname>url</productname> and
  1534. <productname>ot2enc</productname>, and of course
  1535. <productname>JadeTeX</productname> itself.  All of these can be found
  1536. on your friendly neighborhood <acronym>CTAN</acronym> site.</para>
  1537. <para><productname>JadeTeX</productname> does not at the time of
  1538. writing come with much of an installation guide, but there is a
  1539. <filename>makefile</filename> which shows what is needed.  It also
  1540. includes a directory <filename>cooked</filename>, wherein you'll find
  1541. some of the macro packages it needs, but not all, and not complete --
  1542. at least last we looked.</para>
  1543. <para>Before building the <filename>jadetex.fmt</filename> format
  1544. file, you'll probably want to edit the
  1545. <filename>jadetex.ltx</filename> file, to change the configuration of
  1546. <productname>Babel</productname> to suit your locality.  The line to
  1547. change looks something like
  1548. <programlisting>
  1549. RequirePackage[german,french,english]{babel}[1997/01/23]
  1550. </programlisting>
  1551. and you should obviously list only the languages you actually need,
  1552. and have configured <productname>Babel</productname> for.</para>
  1553. <para>With <productname>JadeTeX</productname> working, you should be
  1554. able to generate and format <productname>TeX</productname> output for
  1555. the <productname>PostgreSQL</productname> manuals by giving the
  1556. commands (as above, in the <filename>doc/src/sgml</filename>
  1557. directory)
  1558. <programlisting>
  1559. jade -t tex -d /usr/local/share/docbook/print/docbook.dsl -D ../graphics postgres.sgml
  1560. jadetex postgres.tex
  1561. jadetex postgres.tex
  1562. dvips postgres.dvi
  1563. </programlisting>
  1564. Of course, when you do this, <productname>TeX</productname> will stop
  1565. during the second run, and tell you that its capacity has been
  1566. exceeded.  This is, as far as we can tell, because of the way
  1567. <productname>JadeTeX</productname> generates cross referencing
  1568. information.  <productname>TeX</productname> can, of course, be
  1569. compiled with larger data structure sizes.  The details of this will
  1570. vary according to your installation.
  1571. </para>
  1572. </sect3>
  1573. </sect2>
  1574. </sect1>
  1575. <sect1>
  1576. <title>Alternate Toolsets</title>
  1577. <para>
  1578. <productname>sgml-tools</productname> v2.x
  1579. now supports <application>jade</application>
  1580. and <productname>DocBook</productname>. It may be the preferred toolset
  1581. for working with <acronym>SGML</acronym> but we have not had a chance to
  1582. evaluate the new package.
  1583. </para>
  1584. <!--
  1585. <para>
  1586. The current stable release of <productname>sgml-tools</productname> is
  1587. version 1.0.4. The v1.0 release includes some restructuring of the
  1588. directory tree to more easily support additional document styles,
  1589. possibly including <productname>DocBook</productname>. The only
  1590. version of <productname>sgml-tools</productname> evaluated for
  1591. <productname>Postgres</productname> was v0.99.0. 
  1592. </para>
  1593. <sect2>
  1594. <title><productname>sgml-tools</productname></title>
  1595. <para>
  1596. Install
  1597. <productname>sgml-tools-0.99.0</productname>.
  1598. </para>
  1599. <para>
  1600. Apply  <ulink
  1601. url="http://alumni.caltech.edu/~lockhart/postgres/linuxdoc/sgml-tools-patches-0.99.0.tar.gz">
  1602. <productname>sgml-tools-patches</productname> </ulink> to the linuxdoc
  1603. styles. These patches fix small problems with table formatting and
  1604. with figure file names on conversion to postscript or html.
  1605. </para></sect2>
  1606. <sect2>
  1607. <title><productname>sgml2latex</productname></title>
  1608. <para>
  1609. The current stable release of <productname>sgml2latex</productname> is
  1610. version 1.4. I have misplaced the original reference for this package,
  1611. so will temporarily post it with this example.
  1612. </para>
  1613. <para>
  1614. Install <ulink
  1615. url="http://alumni.caltech.edu/~lockhart/postgres/linuxdoc/sgml2latex-format.1.4.tar.gz">
  1616. <productname>sgml2latex</productname> </ulink>.
  1617. </para></sect2>
  1618. <sect2>
  1619. <title><productname>latex</productname></title>
  1620. <para>
  1621. Get and install <productname>texmf</productname>,
  1622. <productname>teTeX</productname>, or another package providing full
  1623. tex/latex functionality.
  1624. </para>
  1625. <para>
  1626. Add the 
  1627. <ulink
  1628. url="http://alumni.caltech.edu/~lockhart/postgres/linuxdoc/latex-styles-0.99.0.tar.gz">required styles</ulink>
  1629. linuxdoc-sgml.sty, linuxdoc-sgml-a4.sty isolatin.sty, qwertz.sty, and
  1630. null.sty to texmf/tex/latex/tools/ or the appropriate area.
  1631. <programlisting>
  1632. % cat latex-styles-0.99.0.tar.gz | (cd texmf/tex/latex/tools/; tar zxvf -)
  1633. </programlisting>
  1634. Run <productname>texhash</productname> to update the tex database.
  1635. </para></sect2></sect1>
  1636. -->
  1637. </sect1>
  1638. </appendix>
  1639. <!-- Keep this comment at the end of the file
  1640. Local variables:
  1641. mode: sgml
  1642. sgml-omittag:nil
  1643. sgml-shorttag:t
  1644. sgml-minimize-attributes:nil
  1645. sgml-always-quote-attributes:t
  1646. sgml-indent-step:1
  1647. sgml-indent-data:t
  1648. sgml-parent-document:nil
  1649. sgml-default-dtd-file:"./reference.ced"
  1650. sgml-exposed-tags:nil
  1651. sgml-local-catalogs:"/usr/lib/sgml/catalog"
  1652. sgml-local-ecat-files:nil
  1653. End:
  1654. -->