Properly capitalize hypenated words in titles

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Properly capitalize hypenated words in titles
Дата
Msg-id 201102012201.p11M1Dv22378@momjian.us
обсуждение исходный текст
Список pgsql-docs
I have applied the attached patch to properly capitalize hyphenated
words in documentation titles.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +
diff --git a/doc/src/sgml/backup.sgml b/doc/src/sgml/backup.sgml
index a461b0a..dcbb2c8 100644
*** a/doc/src/sgml/backup.sgml
--- b/doc/src/sgml/backup.sgml
*************** tar -cf backup.tar /usr/local/pgsql/data
*** 428,434 ****
   </sect1>

   <sect1 id="continuous-archiving">
!   <title>Continuous Archiving and Point-In-Time Recovery (PITR)</title>

    <indexterm zone="backup">
     <primary>continuous archiving</primary>
--- 428,434 ----
   </sect1>

   <sect1 id="continuous-archiving">
!   <title>Continuous Archiving and Point-in-Time Recovery (PITR)</title>

    <indexterm zone="backup">
     <primary>continuous archiving</primary>
diff --git a/doc/src/sgml/biblio.sgml b/doc/src/sgml/biblio.sgml
index edc59bd..e2cd69d 100644
*** a/doc/src/sgml/biblio.sgml
--- b/doc/src/sgml/biblio.sgml
***************
*** 164,170 ****
    </bibliodiv>

    <bibliodiv>
!    <title>PostgreSQL-Specific Documentation</title>
     <para>This section is for related documentation.</para>

     <biblioentry id="SIM98">
--- 164,170 ----
    </bibliodiv>

    <bibliodiv>
!    <title>PostgreSQL-specific Documentation</title>
     <para>This section is for related documentation.</para>

     <biblioentry id="SIM98">
diff --git a/doc/src/sgml/client-auth.sgml b/doc/src/sgml/client-auth.sgml
index f2f3a66..a7bb2cd 100644
*** a/doc/src/sgml/client-auth.sgml
--- b/doc/src/sgml/client-auth.sgml
*************** omicron         bryanh
*** 1198,1204 ****
    </sect2>

    <sect2 id="auth-ident">
!    <title>Ident-Based Authentication</title>

     <indexterm>
      <primary>ident</primary>
--- 1198,1204 ----
    </sect2>

    <sect2 id="auth-ident">
!    <title>Ident-based Authentication</title>

     <indexterm>
      <primary>ident</primary>
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 141430c..9e08c5a 100644
*** a/doc/src/sgml/config.sgml
--- b/doc/src/sgml/config.sgml
*************** SET ENABLE_SEQSCAN TO OFF;
*** 1108,1114 ****
      </sect2>

      <sect2 id="runtime-config-resource-vacuum-cost">
!      <title>Cost-Based Vacuum Delay</title>

       <para>
        During the execution of <xref linkend="sql-vacuum">
--- 1108,1114 ----
      </sect2>

      <sect2 id="runtime-config-resource-vacuum-cost">
!      <title>Cost-based Vacuum Delay</title>

       <para>
        During the execution of <xref linkend="sql-vacuum">
*************** COPY postgres_log FROM '/full/path/to/lo
*** 3864,3870 ****
     </sect1>

     <sect1 id="runtime-config-statistics">
!     <title>Run-Time Statistics</title>

      <sect2 id="runtime-config-statistics-collector">
       <title>Query and Index Statistics Collector</title>
--- 3864,3870 ----
     </sect1>

     <sect1 id="runtime-config-statistics">
!     <title>Run-time Statistics</title>

      <sect2 id="runtime-config-statistics-collector">
       <title>Query and Index Statistics Collector</title>
diff --git a/doc/src/sgml/dfunc.sgml b/doc/src/sgml/dfunc.sgml
index 155207b..bc29fb1 100644
*** a/doc/src/sgml/dfunc.sgml
--- b/doc/src/sgml/dfunc.sgml
***************
*** 1,7 ****
  <!-- doc/src/sgml/dfunc.sgml -->

  <sect2 id="dfunc">
!  <title>Compiling and Linking Dynamically-Loaded Functions</title>

   <para>
    Before you are able to use your
--- 1,7 ----
  <!-- doc/src/sgml/dfunc.sgml -->

  <sect2 id="dfunc">
!  <title>Compiling and Linking Dynamically-loaded Functions</title>

   <para>
    Before you are able to use your
diff --git a/doc/src/sgml/earthdistance.sgml b/doc/src/sgml/earthdistance.sgml
index 2b753da..b439076 100644
*** a/doc/src/sgml/earthdistance.sgml
--- b/doc/src/sgml/earthdistance.sgml
***************
*** 24,30 ****
   </para>

   <sect2>
!   <title>Cube-Based Earth Distances</title>

    <para>
     Data is stored in cubes that are points (both corners are the same) using 3
--- 24,30 ----
   </para>

   <sect2>
!   <title>Cube-based Earth Distances</title>

    <para>
     Data is stored in cubes that are points (both corners are the same) using 3
***************
*** 59,65 ****
    </para>

    <table id="earthdistance-cube-functions">
!    <title>Cube-Based Earthdistance Functions</title>
     <tgroup cols="3">
      <thead>
       <row>
--- 59,65 ----
    </para>

    <table id="earthdistance-cube-functions">
!    <title>Cube-based Earthdistance Functions</title>
     <tgroup cols="3">
      <thead>
       <row>
***************
*** 136,142 ****
   </sect2>

   <sect2>
!   <title>Point-Based Earth Distances</title>

    <para>
     The second part of the module relies on representing Earth locations as
--- 136,142 ----
   </sect2>

   <sect2>
!   <title>Point-based Earth Distances</title>

    <para>
     The second part of the module relies on representing Earth locations as
***************
*** 152,158 ****
    </para>

    <table id="earthdistance-point-operators">
!    <title>Point-Based Earthdistance Operators</title>
     <tgroup cols="3">
      <thead>
       <row>
--- 152,158 ----
    </para>

    <table id="earthdistance-point-operators">
!    <title>Point-based Earthdistance Operators</title>
     <tgroup cols="3">
      <thead>
       <row>
diff --git a/doc/src/sgml/ecpg.sgml b/doc/src/sgml/ecpg.sgml
index 37bc43f..157daff 100644
*** a/doc/src/sgml/ecpg.sgml
--- b/doc/src/sgml/ecpg.sgml
*************** while (1)
*** 1624,1630 ****
     </sect3>

     <sect3>
!     <title>User-Defined Base Types</title>

      <para>
       New user-defined base types are not directly supported by ECPG.
--- 1624,1630 ----
     </sect3>

     <sect3>
!     <title>User-defined Base Types</title>

      <para>
       New user-defined base types are not directly supported by ECPG.
*************** EXEC SQL CLOSE DATABASE;
*** 7931,7937 ****
    </sect2>

    <sect2 id="ecpg-informix-sqlda">
!    <title>Informix-Compatible SQLDA Descriptor Areas</title>
     <para>
      Informix-compatible mode supports a different structure than the one described in
      <xref linkend="ecpg-sqlda-descriptors">. See below:
--- 7931,7937 ----
    </sect2>

    <sect2 id="ecpg-informix-sqlda">
!    <title>Informix-compatible SQLDA Descriptor Areas</title>
     <para>
      Informix-compatible mode supports a different structure than the one described in
      <xref linkend="ecpg-sqlda-descriptors">. See below:
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index ed2039c..28ee62a 100644
*** a/doc/src/sgml/func.sgml
--- b/doc/src/sgml/func.sgml
*************** SELECT foo FROM regexp_split_to_table('t
*** 4350,4356 ****
     </note>

     <table id="posix-character-entry-escapes-table">
!     <title>Regular Expression Character-Entry Escapes</title>

      <tgroup cols="2">
       <thead>
--- 4350,4356 ----
     </note>

     <table id="posix-character-entry-escapes-table">
!     <title>Regular Expression Character-entry Escapes</title>

      <tgroup cols="2">
       <thead>
*************** SELECT foo FROM regexp_split_to_table('t
*** 4478,4484 ****
     </para>

     <table id="posix-class-shorthand-escapes-table">
!     <title>Regular Expression Class-Shorthand Escapes</title>

      <tgroup cols="2">
       <thead>
--- 4478,4484 ----
     </para>

     <table id="posix-class-shorthand-escapes-table">
!     <title>Regular Expression Class-shorthand Escapes</title>

      <tgroup cols="2">
       <thead>
*************** SELECT foo FROM regexp_split_to_table('t
*** 4672,4678 ****
     </para>

     <table id="posix-embedded-options-table">
!     <title>ARE Embedded-Option Letters</title>

      <tgroup cols="2">
       <thead>
--- 4672,4678 ----
     </para>

     <table id="posix-embedded-options-table">
!     <title>ARE Embedded-option Letters</title>

      <tgroup cols="2">
       <thead>
diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml
index aa2c4a6..f1386b7 100644
*** a/doc/src/sgml/installation.sgml
--- b/doc/src/sgml/installation.sgml
*************** PostgreSQL, contrib and HTML documentati
*** 1524,1530 ****
     </para>

     <formalpara>
!     <title>Client-Only installation:</title>
      <para>
       If you want to install only the client applications and
       interface libraries, then you can use these commands:
--- 1524,1530 ----
     </para>

     <formalpara>
!     <title>Client-only installation:</title>
      <para>
       If you want to install only the client applications and
       interface libraries, then you can use these commands:
*************** kill `cat /usr/local/pgsql/data/postmast
*** 1951,1957 ****
   </sect1>

   <sect1 id="installation-platform-notes">
!   <title>Platform-Specific Notes</title>

    <para>
     This section documents additional platform-specific issues
--- 1951,1957 ----
   </sect1>

   <sect1 id="installation-platform-notes">
!   <title>Platform-specific Notes</title>

    <para>
     This section documents additional platform-specific issues
diff --git a/doc/src/sgml/lobj.sgml b/doc/src/sgml/lobj.sgml
index 46c627b..eebc0d6 100644
*** a/doc/src/sgml/lobj.sgml
--- b/doc/src/sgml/lobj.sgml
*************** int lo_unlink(PGconn *conn, Oid lobjId);
*** 407,413 ****
  </sect1>

  <sect1 id="lo-funcs">
! <title>Server-Side Functions</title>

    <para>
     There are server-side functions callable from SQL that correspond to
--- 407,413 ----
  </sect1>

  <sect1 id="lo-funcs">
! <title>Server-side Functions</title>

    <para>
     There are server-side functions callable from SQL that correspond to
diff --git a/doc/src/sgml/mvcc.sgml b/doc/src/sgml/mvcc.sgml
index 734bb48..152b746 100644
*** a/doc/src/sgml/mvcc.sgml
--- b/doc/src/sgml/mvcc.sgml
*************** SELECT SUM(value) FROM mytab WHERE class
*** 546,552 ****
     </para>

    <sect2 id="locking-tables">
!    <title>Table-Level Locks</title>

     <indexterm zone="locking-tables">
      <primary>LOCK</primary>
--- 546,552 ----
     </para>

    <sect2 id="locking-tables">
!    <title>Table-level Locks</title>

     <indexterm zone="locking-tables">
      <primary>LOCK</primary>
*************** SELECT SUM(value) FROM mytab WHERE class
*** 892,898 ****
     </sect2>

     <sect2 id="locking-rows">
!     <title>Row-Level Locks</title>

      <para>
       In addition to table-level locks, there are row-level locks, which
--- 892,898 ----
     </sect2>

     <sect2 id="locking-rows">
!     <title>Row-level Locks</title>

      <para>
       In addition to table-level locks, there are row-level locks, which
diff --git a/doc/src/sgml/nls.sgml b/doc/src/sgml/nls.sgml
index f92d589..778bb4b 100644
*** a/doc/src/sgml/nls.sgml
--- b/doc/src/sgml/nls.sgml
*************** fprintf(stderr, gettext("panic level %d\
*** 440,446 ****
    </sect2>

    <sect2 id="nls-guidelines">
!    <title>Message-Writing Guidelines</title>

    <para>
     Here are some guidelines for writing messages that are easily
--- 440,446 ----
    </sect2>

    <sect2 id="nls-guidelines">
!    <title>Message-writing Guidelines</title>

    <para>
     Here are some guidelines for writing messages that are easily
diff --git a/doc/src/sgml/plpgsql.sgml b/doc/src/sgml/plpgsql.sgml
index 0a0f904..a2601e6 100644
*** a/doc/src/sgml/plpgsql.sgml
--- b/doc/src/sgml/plpgsql.sgml
*************** PERFORM create_mv('cs_session_page_reque
*** 874,880 ****
     </sect2>

     <sect2 id="plpgsql-statements-sql-onerow">
!     <title>Executing a Query with a Single-Row Result</title>

      <indexterm zone="plpgsql-statements-sql-onerow">
       <primary>SELECT INTO</primary>
--- 874,880 ----
     </sect2>

     <sect2 id="plpgsql-statements-sql-onerow">
!     <title>Executing a Query with a Single-row Result</title>

      <indexterm zone="plpgsql-statements-sql-onerow">
       <primary>SELECT INTO</primary>
diff --git a/doc/src/sgml/plpython.sgml b/doc/src/sgml/plpython.sgml
index 9fc8808..befd6af 100644
*** a/doc/src/sgml/plpython.sgml
--- b/doc/src/sgml/plpython.sgml
*************** $$ LANGUAGE plpythonu;
*** 596,602 ****
    </sect2>

    <sect2>
!    <title>Set-Returning Functions</title>
    <para>
     A <application>PL/Python</application> function can also return sets of
     scalar or composite types. There are several ways to achieve this because
--- 596,602 ----
    </sect2>

    <sect2>
!    <title>Set-returning Functions</title>
    <para>
     A <application>PL/Python</application> function can also return sets of
     scalar or composite types. There are several ways to achieve this because
diff --git a/doc/src/sgml/protocol.sgml b/doc/src/sgml/protocol.sgml
index 0775b7a..73c05ed 100644
*** a/doc/src/sgml/protocol.sgml
--- b/doc/src/sgml/protocol.sgml
***************
*** 210,216 ****
    </para>

    <sect2>
!    <title>Start-Up</title>

     <para>
      To begin a session, a frontend opens a connection to the server and sends
--- 210,216 ----
    </para>

    <sect2>
!    <title>Start-up</title>

     <para>
      To begin a session, a frontend opens a connection to the server and sends
diff --git a/doc/src/sgml/ref/create_table.sgml b/doc/src/sgml/ref/create_table.sgml
index c1cfee5..5bffe30 100644
*** a/doc/src/sgml/ref/create_table.sgml
--- b/doc/src/sgml/ref/create_table.sgml
*************** CREATE TABLE employees OF employee_type
*** 1369,1375 ****
    </refsect2>

    <refsect2>
!    <title>Zero-Column Tables</title>

     <para>
      <productname>PostgreSQL</productname> allows a table of no columns
--- 1369,1375 ----
    </refsect2>

    <refsect2>
!    <title>Zero-column Tables</title>

     <para>
      <productname>PostgreSQL</productname> allows a table of no columns
diff --git a/doc/src/sgml/release-9.1.sgml b/doc/src/sgml/release-9.1.sgml
index c6c0e1b..6c201b6 100644
*** a/doc/src/sgml/release-9.1.sgml
--- b/doc/src/sgml/release-9.1.sgml
***************
*** 408,414 ****
        </itemizedlist>
      </sect3>
      <sect3>
!       <title>Built-In Functions</title>
        <itemizedlist>

         <listitem>
--- 408,414 ----
        </itemizedlist>
      </sect3>
      <sect3>
!       <title>Built-in Functions</title>
        <itemizedlist>

         <listitem>
diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml
index 226d616..5161c8c 100644
*** a/doc/src/sgml/runtime.sgml
--- b/doc/src/sgml/runtime.sgml
*************** pg_dumpall -p 5432 | psql -d postgres -p
*** 2099,2105 ****
    </sect2>

    <sect2 id="ssl-certificate-creation">
!    <title>Creating a Self-Signed Certificate</title>

     <para>
      To create a quick self-signed certificate for the server, use the
--- 2099,2105 ----
    </sect2>

    <sect2 id="ssl-certificate-creation">
!    <title>Creating a Self-signed Certificate</title>

     <para>
      To create a quick self-signed certificate for the server, use the
diff --git a/doc/src/sgml/syntax.sgml b/doc/src/sgml/syntax.sgml
index 482e08a..004205f 100644
*** a/doc/src/sgml/syntax.sgml
--- b/doc/src/sgml/syntax.sgml
*************** SELECT 'foo'      'bar';
*** 330,336 ****
     </sect3>

     <sect3 id="sql-syntax-strings-escape">
!     <title>String Constants with C-Style Escapes</title>

       <indexterm zone="sql-syntax-strings-escape">
        <primary>escape string syntax</primary>
--- 330,336 ----
     </sect3>

     <sect3 id="sql-syntax-strings-escape">
!     <title>String Constants with C-style Escapes</title>

       <indexterm zone="sql-syntax-strings-escape">
        <primary>escape string syntax</primary>
*************** U&'d!0061t!+000061' UESCAPE '!'
*** 551,557 ****
     </sect3>

     <sect3 id="sql-syntax-dollar-quoting">
!     <title>Dollar-Quoted String Constants</title>

       <indexterm>
        <primary>dollar quoting</primary>
--- 551,557 ----
     </sect3>

     <sect3 id="sql-syntax-dollar-quoting">
!     <title>Dollar-quoted String Constants</title>

       <indexterm>
        <primary>dollar quoting</primary>
*************** $function$
*** 631,637 ****
     </sect3>

     <sect3 id="sql-syntax-bit-strings">
!     <title>Bit-String Constants</title>

      <indexterm zone="sql-syntax-bit-strings">
       <primary>bit string</primary>
--- 631,637 ----
     </sect3>

     <sect3 id="sql-syntax-bit-strings">
!     <title>Bit-string Constants</title>

      <indexterm zone="sql-syntax-bit-strings">
       <primary>bit string</primary>
diff --git a/doc/src/sgml/xaggr.sgml b/doc/src/sgml/xaggr.sgml
index 2dce97f..c9b9b56 100644
*** a/doc/src/sgml/xaggr.sgml
--- b/doc/src/sgml/xaggr.sgml
***************
*** 1,7 ****
  <!-- doc/src/sgml/xaggr.sgml -->

   <sect1 id="xaggr">
!   <title>User-Defined Aggregates</title>

    <indexterm zone="xaggr">
     <primary>aggregate function</primary>
--- 1,7 ----
  <!-- doc/src/sgml/xaggr.sgml -->

   <sect1 id="xaggr">
!   <title>User-defined Aggregates</title>

    <indexterm zone="xaggr">
     <primary>aggregate function</primary>
diff --git a/doc/src/sgml/xfunc.sgml b/doc/src/sgml/xfunc.sgml
index 25e5773..4ad50ec 100644
*** a/doc/src/sgml/xfunc.sgml
--- b/doc/src/sgml/xfunc.sgml
***************
*** 1,7 ****
  <!-- doc/src/sgml/xfunc.sgml -->

   <sect1 id="xfunc">
!   <title>User-Defined Functions</title>

    <indexterm zone="xfunc">
     <primary>function</primary>
--- 1,7 ----
  <!-- doc/src/sgml/xfunc.sgml -->

   <sect1 id="xfunc">
!   <title>User-defined Functions</title>

    <indexterm zone="xfunc">
     <primary>function</primary>
*************** memcpy(destination->data, buffer, 40);
*** 1754,1760 ****
      </para>

       <table tocentry="1" id="xfunc-c-type-table">
!       <title>Equivalent C Types for Built-In SQL Types</title>
        <tgroup cols="3">
         <thead>
          <row>
--- 1754,1760 ----
      </para>

       <table tocentry="1" id="xfunc-c-type-table">
!       <title>Equivalent C Types for Built-in SQL Types</title>
        <tgroup cols="3">
         <thead>
          <row>
*************** include $(PGXS)
*** 2660,2666 ****


     <sect2>
!     <title>Composite-Type Arguments</title>

      <para>
       Composite types do not have a fixed layout like C structures.
--- 2660,2666 ----


     <sect2>
!     <title>Composite-type Arguments</title>

      <para>
       Composite types do not have a fixed layout like C structures.
diff --git a/doc/src/sgml/xoper.sgml b/doc/src/sgml/xoper.sgml
index ea64a15..1e6efd5 100644
*** a/doc/src/sgml/xoper.sgml
--- b/doc/src/sgml/xoper.sgml
***************
*** 1,7 ****
  <!-- doc/src/sgml/xoper.sgml -->

   <sect1 id="xoper">
!   <title>User-Defined Operators</title>

    <indexterm zone="xoper">
     <primary>operator</primary>
--- 1,7 ----
  <!-- doc/src/sgml/xoper.sgml -->

   <sect1 id="xoper">
!   <title>User-defined Operators</title>

    <indexterm zone="xoper">
     <primary>operator</primary>
diff --git a/doc/src/sgml/xtypes.sgml b/doc/src/sgml/xtypes.sgml
index 972cc76..a76b035 100644
*** a/doc/src/sgml/xtypes.sgml
--- b/doc/src/sgml/xtypes.sgml
***************
*** 1,7 ****
  <!-- doc/src/sgml/xtypes.sgml -->

   <sect1 id="xtypes">
!   <title>User-Defined Types</title>

    <indexterm zone="xtypes">
     <primary>data type</primary>
--- 1,7 ----
  <!-- doc/src/sgml/xtypes.sgml -->

   <sect1 id="xtypes">
!   <title>User-defined Types</title>

    <indexterm zone="xtypes">
     <primary>data type</primary>

В списке pgsql-docs по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [GENERAL] Binary Replication and Slony
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [GENERAL] Gripe: bytea_output default => data corruption